Description
PRG/211 Week 5 Lab 11.1 User-Defined Functions: Miles to track laps
One lap around a standard high-school running track is exactly 0.25 miles. Write a program that takes a number of miles as input, 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
Reviews
There are no reviews yet.