Question: Knightro was showing you a program he just wrote. His goal is to find how large his average step is. However, he noticed that when

Knightro was showing you a program he just wrote. His goal is to find how large his average step is. However, he noticed that when he goes to divide those numbers together it doesn't work! In his program he wants to take in the number of steps he has taken as an integer and the distance as a floating point number. He will then use those variables to calculate the average distance traveled per step in inches

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock