31.6k views
8 votes
People often want to save money for a future purchase. You are writing a program to determine how much to save each week given the cost of the purchase and the number of weeks. For example, if the cost of the purchase is $100 and the desired number of weeks is 5, then you divide $100 by 5. You find that you need to save $20 each week. Some of the steps in your plan are followed. Put them in order of which occurs first. Some steps are not listed.

1 Answer

4 votes

Answer:

First: Ask the user for the cost of the purchase and the number of weeks.

Next: Divide the cost of the purchase by the number of weeks.

Last: Check for accuracy.

Step-by-step explanation:

Edg

User Dave Lugg
by
5.3k points