1. Engineering
  2. Computer Science
  3. write a program that calculates mileage reimbursement for a salesperson...

Question: write a program that calculates mileage reimbursement for a salesperson...

Question details

Write a program that calculates mileage reimbursement for a salesperson at a rate of $.35 per mile. Your program should interact with the user in this manner:

MILEAGE REIMBURSEMENT CALCULATOR
Enter beginning odometer reading=> 13505.2
Enter ending odometer reading=> 13810.6
You traveled 305.4 miles. At $0.35 per mile,
your reimbursement is $106.89.

Also, do one additional run with 10,500.5 for beginning odometer reading and

15,600.8 as ending odometer reading. The answer should be: $1785.10


Solution by an expert tutor
Blurred Solution
This question has been solved
Subscribe to see this solution