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 7 a.m. Lunch is allowed if the time of departure is before noon. Dinner is allowed if the time of departure is before 6 p.m. On the last day of the trip, breakfast is allowed if the time of arrival is after 8 a.m. Lunch is allowed if the time of arrival is after 1 p.m. Dinner is allowed if the time of arrival is after 7 p.m. 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.
i have to write a program that will calculate what is listed above, i am having trouble starting off. please help me to start off or give me an idea of what direction i need to go in thanks
Explain what you need help with and I wouldn't mind. Give us some details on what you want. And keep in mind this is your assignment and we won't do it for you.