5.8 LAB: User-Defined Functions: Miles to Track Laps
One lap around a standard high-school running track is exactly 0.25 miles. Define a function named MilesToLaps that takes a float as a parameter, representing the number of miles, and returns a float that represents the number of laps. Then, write a main program that takes a number of miles as an input, calls the function MilesToLaps() to calculate the number of laps, and outputs the number of laps.
Ex: If the input is 1.5, the output is 6.0.
Ex: If the input is 2.2, the output is 8.8.
Your program should define and call a function:
Function MilesToLaps(float userMiles) returns float userLaps