CORAL CHALLENGE ACTIVITY 11.3.1: Step counter
Start
A pedometer treats walking 2,000 steps as walking 1 mile. Write a program whose input is the number of steps, and whose output is the miles walked. If the input is 5345, the output is 2.6725.
Your program should define and call a function.
Function StepsToMiles(integer userSteps) returns float numMiles
Variables
// Your solution goes here
Not shown when editing