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

Availability: In stock

Regular Price: $8.00

Special Price: $5.00

OR

PRG211 Week 5 Lab 11.1 User-Defined Functions Miles to track laps Program

Double click on above image to view full picture

Zoom Out
Zoom In

More Views

Quick Overview

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

Regular Price: $8.00

Special Price: $5.00

Details

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

Additional Information

Special Price $5.00

Product Tags

Use spaces to separate tags. Use single quotes (') for phrases.