66 926
Assignments Done
99,1%
Successfully Done
In October 2018

Answer to Question #18201 in C++ for hwankim

Question #18201

Write a program that calculates and displays the total travel expenses of a businessperson on a trip. The program should declare all variables in the main function and then call the functions to ask for and return the following:


The amount of each meal eaten. On the first day of the trip, breakfast is allowed as an expense if the time of departure is before 7am. Lunch is allowed if the time of departure is before 12 noon. Dinner is allowed on the first day if the time of departure is before 6pm. On the last day of the trip, breakfast is allowed if the time of arrival is after 8am. Lunch is allowed if the time of arrival is after 1pm. Dinner is allowed on the last day if the time of arrival is after 7pm. The program should only ask for the amounts of allowable meals. (The company allows up to $9 for breakfast, $12 for lunch, and $16 for dinner. Anything in excess of this must be paid by the employee.)

this is part Im having trouble with
Expert's answer
Dear customer,
Unfortunately, your question requires a lot of work and cannot be done for free.
Please submit it with all requirements as an assignment to our control panel and
we'll assist you.

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

Assignment Expert
09.01.15, 15:01

Dear customer,
Unfortunately, your question requires a lot of work and cannot be done for free. 
Please submit it with all requirements as an assignment to our control panel and 
we'll assist you. 

Absar Ahmed
04.12.14, 17:26

Please help me to make this program.....!! this program should be made on C++

Leave a comment

Ask Your question

Submit
Privacy policy Terms and Conditions