Do the planning and write an algorithm
for the following questions. Each problem
contain a do loop. When planning your
algorithm, decide which type of loop will be
best suited to solving the particular problem
(pre-test or post-test). If the problem
contain a decision to be made, decide
whether you’ll use an if statement or a
select case statement. You can assume that
all the input data for the following questions
will be valid.
Peter decided to save money to buy a
house. Enter this amount as well as the
amount he will be able to save each month.
He earns 0.8% interest per month while the
amount is less than R70,000 and 0,7%
interest per month if the amount is equal to
or more that R70,000. The interest is added
to the total amount. Calculate how many
months he will have to save before he has
reached his goal. Display the final amount
and the number of months.