Next: Further Assignment Statements &
Up: The Assignment statement
Previous: Review questions
const
for
the conversion factors between miles and kilometres, and gallons
and litres.
const
to represent the conversion rate, which is 2.31DM
to £1 at the time of writing. Be sure to print
suitable headings and or labels for the values to be output.
const
for the various rates of charging.