Meridian Corporation of Fremont is trying to decide whether toreward employees who carpool to work. The proposed plan is to payeach employee in the carpool $ 0.08 per mile if the minimumpassenger efficiency of 25.0 is met. The passenger efficiency iscalculated as
P =nm
G
where n is the number of people in the carpool, m is thedistance traveled in miles and G is the number of gallons of fuelused.
The file opened in part A (do not open it again but do have areference to it as a parameter) contains data on existing carpools.The input file represents each existing carpool as a
PayPal Gateway not configured
PayPal Gateway not configured