1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
Elden [556K]
3 years ago
13

A dietician wants you to write a program that will calculate the number of calories a person can lose by walking at a slow pace

for a mile; however, the user will have only the distance given by a pedometer, which is measured in steps and not miles. Assume each mile a person walks is equivalent to 2000 steps, and that for every mile walked, a person loses 65 calories. Allow the user of the program to enter the number of steps taken throughout the day. The program will calculate the distance in miles and the number of calories lost. The user of the program should also be able to enter the day of the week the data is being calculated for. The day of the week, the distance in miles, and the calories lost should then be displayed to the screen.
How would I write the calculation for this problem in pseudocode?
Computers and Technology
1 answer:
gregori [183]3 years ago
6 0

Answer:

The pseudocode is as follows

1. Input Steps

2. Input Day

3. Miles = Steps/2000

4. Calories = 65 * Miles

5. Print Calories

6. Stop

Explanation:

This line gets the number of steps for the day

1. Input Steps

This line gets the current day

2. Input Day

The line calculates number of miles

3. Miles = Steps/2000

This line calculates the calories lost

4. Calories = 65 * Miles

This line prints the calories lost

5. Print Calories

The pseudocode ends here

6. Stop

You might be interested in
Please Help!!!<br> I keep getting this answer wrong
IgorC [24]

Answer:

I think its option a. and d.

Explanation:

option a. is right I'm sure.

option b. and c. are doubtful for me.

option d. can be true. but unlike a job letter, resumes carry a deeper view of the employee's accomplishments and qualifications.

but I still hold with option a. and b. if it's wrong please do inform, so I can refer.

5 0
4 years ago
……………………is one of the most popular cloud storage facilities.​
lord [1]
Chcgzrsfchvuvjbnkggvbbb.
4 0
3 years ago
____ devices are high-performance storage systems that are connected individually to a network to provide storage for the comput
Brut [27]

Answer:lmlmlmlmlmlm

Explanation:

4 0
4 years ago
An online game is played with two dice. In this context, explain what is meant by decomposition
Hunter-Best [27]
You want to throw 2 dice and get (or show?) their value.
    Their value is random, so you need to generate two numbers between 1 & 6.
    You may need to display the numbers
    The main part of the program needs to know the numbers to limit what the user may do next.


That's most of the first level of decomposition. You need to keep decomposing (breaking into smaller simpler pieces) (think of an outline) and deciding what objects, functions, data structures and logic you're going to use to code this.
8 0
3 years ago
"how has user access of the web changed over the past 10 years? how does this impact the design of a website?"
FinnZ [79.3K]
Over the years, the internet has undergone major changes that has positively and negatively affected the overall interface, performance, and design of the entire website. Apart from this, it has completely changed the communities point of views towards technology and its appreciation of the market designs. Some of the major changes are based on its interface mostly on the screen size. In addition, all monitors being manufactured nowadays are calibrated. This means that, there is a better transition of images in-terms of image pixel.  
7 0
3 years ago
Other questions:
  • The index number of a combobox object can be assigned to a(n) ____ data type variable
    13·1 answer
  • ITS MAKING ME TYPE URL CODES NOW!
    6·1 answer
  • Write a function shampoo_instructions() with parameter num_cycles. If num_cycles is less than 1, print "Too few.". If more than
    9·1 answer
  • An adjustable wrench's movable jaw is positioned <br> by​
    5·1 answer
  • Why is it important to ensure that your software is up to date?
    13·1 answer
  • E-What is the important of Recycle bin?<br>Ans:​
    12·1 answer
  • 2.3 Code Practice: Question 1
    5·1 answer
  • Copying materials from a source text without using is<br> considered plagiarism<br> ?
    5·1 answer
  • Hahaahhaahahuahaahahhahqha
    13·1 answer
  • What is precipitation ????
    5·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!