Question: You will write a program that will Calculate some of the costs for a road trip . Assume the user will drive an average of


You will write a program that will Calculate some of the costs for a road trip . Assume the user will drive an average of 70 MPH . The toll rate is 5 cents a mile . The user will stop and spend $15.00 every 4 hours for food and/or coffee The user will enter the number of miles, the cost of gas per gallon, and the miles per gallon(mpg) of the car. You must have at least 7 user defined functions as follows: //Road trip //preprocessor directives #defineCRTSECURENOWARNINGS #include
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
