A driver buys a new car. The value of the car reduces each year by a percentage

Question:

A driver buys a new car.
The value of the car reduces each year by a percentage of its current value.
The percentage reduction is:
– In the first year, 40%
– In each following year, 20%
The driver writes a program to predict the value of the car in future years.
The program requirements are:
– Enter the cost of the new car (to nearest $)
– Calculate and output the value of the car at the end of each year
– The program will end when either the car is nine years old, or when the value is less than $1000.
a) Study the incomplete pseudocode which follows in part b) and copy and complete this identifier table.

b) Copy and complete the pseudocode for this design. 

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Related Book For  book-img-for-question
Question Posted: