Calculate the total expenses if quantity and price per item

Assignment Help C/C++ Programming
Reference no: EM13947953

1. Which of the following are invalid variable names and why?

Interestpaid
AVERAGE
123
FLOAT

2. Point out the errors, if any, in the following c statements

int = 314.562*150;
name = 'AJAY';
3.14*r*r = area;
area = 3.14*r**2;

3. Pick up the correct alternative for each of the following questions

A. C language has been developed by

1. Ken Thompson
2. Dennis Ritchie
3. Peter Norton
4. Martin Richards

B. C language has been developed at

1. Microsoft Corp.,USA
2. AT & T Bell Labs ,USA
3. Borland International , USA
4. IBM,USA

C. C language came in exixtence in the year

1. 1971
2. 1957
3. 1972
4. 1983 

D. Which statement is wrong

1. mes = 123.56;
2. con = 'T' * 'A';
3. this = 'T' * 20;
4. 3+a = b;

Write down the flowchart and a program.

1. While purchasing certain items, a discount of 10% is offered if the quantity purchased is more than 1000. If quantity and price per item are input through the keyboard. Calculate the total expenses.

2. Ramesh's basic salary is input through the keyboard . His dareness allowance is 40% of basic salary, and house rent allowance is 20% of basic salary. Calculate his gross salary.

Reference no: EM13947953

Questions Cloud

Differentiate between oscillation and damp cobweb model : Differentiate between oscillation and damp cobweb model
Calculate the diffusion coefficient : 1. The activation energy for the diffusion of cop- per in silver is 193,000 J/mol. Calculate the diffusion coefficient  at  1200  K  (927°C),  given that D at 1000 K (727°C) is 1.0 X 10-14  m2/s.
How far do you have to go to come into contact with poverty : If there actually is no hidden poverty in your community, how wide do you have to cast your net to encounter poverty? Outside the city limits? Outside your county? Further? How far do you have to go to come into contact with poverty
A foreign government enters into a contract with a us : A foreign government enters into a contract with a US company to provide computer equipment and services for the intelligence arm of its military forces. After the equipment has been supplied, the foreign government refuses to pay. The US company fil..
Calculate the total expenses if quantity and price per item : While purchasing certain items, a discount of 10% is offered if the quantity purchased is more than 1000. If quantity and price per item are input through the keyboard. Calculate the total expenses. Ramesh's basic salary is input through the keyboard..
How foreign persons are taxed on income generated in u.s. : Examine at least three categories of U.S. sourced income that will generate U.S. taxes for your client - Analyze the source rules reach of the U.S. Tax Code in regard to international taxation.
A two-year incontestable clause : Martin and Williams, two business partners, agreed that each would insure his life for the benefit of the other. On his application for insurance, Martin stated that he had never had any heart trouble when in fact he had had a mild heart attack some ..
Driving force for steady-state : What is the driving force for steady-state known that  the concentration of nitrogen in the steel at the high-pressure surface is 2 kg/m3. How far into the sheet from this high pressure side will the concentration be 0.5 kg/m3? Assume a linear con..
Add a title to the grade chart. : Go to the bottom of your spreadsheet, and select Sheet 2. Click on a cell within that sheet.

Reviews

Write a Review

C/C++ Programming Questions & Answers

  Create program that uses functions and reference parameters

Create program that uses functions and reference parameters, and asks user for the outside temperature.

  Write a program using vectors and iterators

Write a program using vectors and iterators that allows a user to maintain a personal list of DVD titles

  Write the code required to analyse and display the data

Calculate and store the average for each row and column. Determine and store the values for the Average Map.

  Write a webservices application

Write a webservices application that does a simple four function calculator

  Iimplement a client-server of the game

Iimplement a client-server version of the rock-paper-scissors-lizard-Spock game.

  Model-view-controller

Explain Model-View-Controller paradigm

  Design a nested program

How many levels of nesting are there in this design?

  Convert celsius temperatures to fahrenheit temperatures

Write a C++ program that converts Celsius Temperatures to Fahrenheit Temperatures.

  Evaluate and output the value in the given base

Write C program that will input two values from the user that are a Value and a Base with which you will evaluate and output the Value in the given Base.

  Design a base class shape with virtual functions

Design a base class shape with virtual functions

  Implementation of classes

Implementation of classes Chart and BarChart. Class barChart chould display a simple textual representation of the data

  Technical paper: memory management

Technical Paper: Memory Management, The intent of this paper is to provide you with an in depth knowledge of how memory is used in executing, your programs and its critical support for applications.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd