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
Which of the following is not an operating system service?
skad [1K]

Answer:

c. graphical user interface

Explanation:

An operating system may be defined as the system software which manages the various computer hardware, resources, software and also provides other computer services. It communicates the user with the computer and the computer runs according to the instruction provided by the operating system. It is commonly known as the OS.  

Operating system does not provide any graphical user interface. It consists of necessary components of the software to facilitate the usage or running of the computer.

5 0
2 years ago
In a stream channel what is deposited first?
asambeis [7]
Gravel sized particles
6 0
3 years ago
Ning wants to gather data about humidity for a science project. Which of these are needed to gather data?
IgorLugansk [536]

Answer:

A -  information

Explanation:

in the question it says Ning wants to GATHER DATA for the project so, he need information.

IF im wrong, plz tell me and sry if i am

8 0
3 years ago
Read 2 more answers
A Software Developer wants to add a new feature to an existing application operating in the Cloud, but only wants to pay for the
Mamont248 [21]

A term which describes this feature of cloud computing is: C. serverless computing.

<h3>The features of cloud computing.</h3>

In Computer technology, the features of cloud computing include the following:

  • Elasticity
  • Pooled resources
  • On-Demand self-service
  • Multitenancy
  • Serverless computing

In Cloud computing, serverless computing is a feature that is typically used to add a new feature to an existing software application that is operating in the Cloud while having to pay only for the computing time which the software code actually uses when it is called.

Read more on cloud computing here: brainly.com/question/19057393

#SPJ1

8 0
2 years ago
Read 2 more answers
Exchanging which type of data uses the least bandwidth?
Mariulka [41]

Answer:

Voice data uses less bandwidth during exchanging  

Explanation:

The in-network volume of data been transferred between two network points. The data transfer in the network will be heavy and some time it will less.  

It all depends on the end-user data transfers. If end-user transfer media files such as video or bandwidth will be used heavy. If voice data is used then it uses very less.  

Suppose end-user transfer txt file or XML files some it uses very less bandwidth that also depends on file size transfer.

8 0
3 years ago
Other questions:
  • Animation and transition effects will distract your audience when using a slide show presentation aid. True or false ?
    10·2 answers
  • Janice, who is 15, posts post a picture of herself drinking alcohol and making an obscene gesture on her social network page. wh
    15·2 answers
  • Preesure is drived quantity? why​
    15·2 answers
  • A researcher develops a new instrument to measure coping skills and conducts a pilot study to compare the new tool with an exist
    5·1 answer
  • Saturn has an orbital period of 29.46 years
    7·2 answers
  • Write a program that prints the following 45 pairs of numbers:
    8·1 answer
  • How do news organizations primarily create revenue?
    12·2 answers
  • Which avenue may utilize video streaming, audio narration, print designs and animation?
    7·1 answer
  • Information that's been collected to help solve a problem is called
    10·1 answer
  • consider a pipelined risc cpu with 14 stages. what is maximum speedup of this cpu over a non-pipelined implementation?
    11·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!