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?

1 answer

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.