Identifiers & Pseudocode
   Guest   
Q

 

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 fill in the identifier table.

 

 

 



Out of / 9 marks

Your Work
You are not logged in! You can answer but you cannot save your work.    SIGN UP   SIGN IN
Times Taken 0  
 

RadEditor - HTML WYSIWYG Editor. MS Word-like content editing experience thanks to a rich set of formatting tools, dropdowns, dialogs, system modules and built-in spell-check.
RadEditor's components - toolbar, content area, modes and modules
   
Toolbar's wrapper 
 
Content area wrapper
RadEditor's bottom area: Design, Html and Preview modes, Statistics module and resize handle.
It contains RadEditor's Modes/views (HTML, Design and Preview), Statistics and Resizer
Editor Mode buttonsStatistics moduleEditor resizer
  
RadEditor's Modules - special tools used to provide extra information such as Tag Inspector, Real Time HTML Viewer, Tag Properties and other.
   
 
Spin UpSpin Down