Formatting Exercise

A company pays its employees a mileage allowance for travelling to and from its various branches. The payment is a flat rate of 75p per mile. You are required to develop a program that will read in the starting mileage of a car, the finishing mileage of a car, include tenths of a mile in your inputs. The program should then calculate the miles travelled (decimal value >0.5 rounded up, otherwise rounded down) and display the miles travelled and the amount due to the employee.

Additional requirements:

The program should output the following screen display before moving the cursor back to the starting mileage input.

[Specimen answer]