
Comes with an algorithm for this problem. Pedometer calculator?
A dietitian wants you to write a program that calculates the number of calories a person can use a slow walking a mile. However, she only has the distance on the pedometer, which is measured in steps and miles. 1 miles = 2000 steps. For every mile that a person uses 65 calories. Allow the program user to enter the number of steps taken throughout the day. The program will calculate the mileage and the number of calories used. The user should be able to enter the day of the week the data are calculated. The day of the week, the distance in miles and calories should be displayed on the screen. I have come so far with this formula A = number of measurements divided by B = 2000, so the result should be C, which is the number of miles. A / B = C, then C * 65. Am I right so far on this? I do not want the whole answer, because I understand the pseudo code, flowcharts and python on my own so it will actually learn, but I'm on the right track?
Calories_Used = [Number_of_Steps/2000] * 65 = C = A / B * 65 –
How to Lose Fat from Thighs and Hips | Wieght | Calories | Gain
|
|
Casio Men’s SGW200-1VCF Pedometer Resin Strap Watch $39.98 Designed as a running companion, the Casio Men’s Pedometer Resin Strap Watch #SGW200-1VCF has a built-in pedometer to help keep tabs on distance, energy expenditure, average pace, and number of steps. Other athletic and general watch functions include a stopwatch and countdown timer, five daily alarms and a calendar, and a backlit display with Afterglow technology. Not only intended for athletic u… |
