PRG/211 Week 5 Lab 11.1 User-Defined Functions: Miles to track laps

$ 8

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

916 in stock

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.

Only logged in customers who have purchased this product may leave a review.

You may also like…