Write a program to input the price of an item and the sales


Assignment

1. Describe the SDLC:

a) Include a chart using Smart Art or some other tool
b) Include a description of each step in detail
c) Indicate (highlight on the chart) what step is being used when we use IPOs

2. Defining the Problem: For each of the following, define the problem by specifying the input, output (use good variable names as described in class) and processing steps in the following format:

Input

Processing

Output

 

 

 

 

 

 

 

 

 

 

 

 

The processing steps should be very general, i.e. Calculate tax, Print sum, etc. Remember we are doing phase 1 (analysis) only - Defining the Problem. We will solve these problems later. Use the notes as guidelines.

a) Write a program to input the price of an item and the sales tax rate, and calculate the total price.

b) A program is required which will receive two numbers, then calculate and display to the screen their sum, difference, product, quotient.

c) Write a program to input three test scores, then calculate and print the average.

d) A program is required that will read in a tax rate (as a percentage), tip rate (as a percentage) and the price of three items (use 3 variables). The program is to calculate the total price before tax, the tax payable, bill after tax, tip, and total bill. The program then prints all values.

Solution Preview :

Prepared by a verified Expert
Computer Engineering: Write a program to input the price of an item and the sales
Reference No:- TGS02660062

Now Priced at $30 (50% Discount)

Recommended (90%)

Rated (4.3/5)