Question: I need help writing functions in C++ that asks for and return the following: 1. The amount of any car rentals 2.Miles driven, if a
I need help writing functions in C++ that asks for and return the following: 1. The amount of any car rentals 2.Miles driven, if a private vehicle was used. Vehicle expense is 0.27 $ per mile driven. 3.Parking fees.(The company allows up to 6 per day. Anything in excess of this must be paid by the employee), 4. Taxi fees(The company allows up to 10$ per day, for each day that taxi was used. Anything in excess must be paid by the employee. The functions must be written using loops.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
