Asked by Mary
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
Answered by
MathMate
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.
There are no AI answers yet. The ability to request AI answers is coming soon!
Submit Your Answer
We prioritize human answers over AI answers.
If you are human, and you can answer this question, please submit your answer.