Question
How do you design a program that asks for the sale figures, computes the total sales for the year, and calculates and displays final sale figures for the four quarters in 2010 and displays the average quarterly sale for the year?
Answers
This can be done by writing a flow-chart, or pseudocode.
The steps are exactly as you posted. Detailed design or coding depends on the coding language you are expecting to use. Some will display charts with one line of code, others might need a user-written procedure.
If you post a proposed design, we will be glad to help you improve or correct what you have.
The steps are exactly as you posted. Detailed design or coding depends on the coding language you are expecting to use. Some will display charts with one line of code, others might need a user-written procedure.
If you post a proposed design, we will be glad to help you improve or correct what you have.
Related Questions
to design a program that asks for the sales figures, computes the total sales for the year, and calc...
A customer in a store is purchasing five items. Design a program in python that asks for the price o...
You have the final sales figures for the four quarters in 2010 for Bennets Used Auto Sales, and you...
A pet store has 4 dogs for sale. They have three times as many fish for sale, twice as many birds fo...