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
Rzqust [24]
2 years ago
6

The following equation estimates the average calories burned for a person when exercising, which is based on a scientific journa

l article (source): calories = ( (age x 0. 2757) + (weight x 0. 03295) + (heart rate x 1. 0781) — 75. 4991 ) x time / 8. 368 write a program using inputs age (years), weight (pounds), heart rate (beats per minute), and time (minutes), respectively. Output the average calories burned for a person. Output each floating-point value with two digits after the decimal point, which can be achieved as follows: print('calories: {:. 2f} calories'. Format(calories)).
SAT
1 answer:
Misha Larkins [42]2 years ago
4 0

The program is an illustration of a sequential structure

<h3>What are sequential control structures?</h3>

Sequential control structures are programs that do not require loops and conditional statements

<h3>The actual program</h3>

The program in Python where comments are used to explain each line, is as follows:

#This gets input for age

age = int(input("Age: "))

#This gets input for weight

weight = (input("Weight: "))

#This gets input for the heart rate

heartRate = float(input("Heart Rate: "))

#This gets input for the time

time = int(input("Time: "))

#This calculates the calories burnt

calories = ((age * 0.2757) + (weight * 0.03295) + (heartRate * 1.0781) - 75.4991 ) * time / 8.368

#This prints the calories burnt

print('calories: {:. 2f} calories'. Format(calories))

Read more about similar programs at:

brainly.com/question/24833629

You might be interested in
Suppose that prolog facts are used to define the predicates mother(m, y) and father(f, x), which represent that m is the mother
erastova [34]

Prolog languages are logics that are used when creating programs that require artificial intelligence.

The prolog rule to define the predicate grandfather(x, y) is grandfather(X,Y) :- mother(M,Y), father(X,M); father(F,Y), father(X,F)

<h3>How to determine the prolog rule</h3>

From the question, we have the following definitions:

  • mother(m, y): m is the mother of y
  • father(f, x): f is the father of x

For x to be the grandfather of y, then either of the following definitions must be true

  • m is the mother of y, and x is the father of m
  • f is the father of y, and x is the father of f

Using the above highlights, the prolog rule would be

grandfather(X,Y) :-

mother(M,Y), father(X,M);

father(F,Y), father(X,F)

Read more about logics at:

brainly.com/question/24833629

4 0
2 years ago
The Bahama Islands were created by Question 9 options: Underwater mountains Underwater volcanoes Coral Reef
klio [65]

Answer:

Coral reef

Explanation:

5 0
2 years ago
What does social justice mean to you essay
beks73 [17]

Answer:

Social justice is the equal distribution of opportunities, rights, and responsibility despite differences in physical traits and/or beliefs and behavior. It is an international and multifaceted issue that fights for better treatment and equality of people.

Example of social justice:

Racial equality occurs when institutions give equal opportunities to people of all races. In other words, regardless of physical traits such as skin color, institutions and are to give individuals legal, moral, and political equality.

Explanation:

8 0
3 years ago
This graph shows the costs of purchasing two types of bird seed mix. Which statement is true? seed mix a is more expensive than
zavuch27 [327]

Answer: don't know sorry

Explanation:

4 0
3 years ago
How does your power output in climbing the stairs compared to the power output of a 100 watt.
Dmitry_Shevchenko [17]

Answer:

the power output is the amount of gravitational potential energy being carried out by releasing electricity

8 0
2 years ago
Other questions:
  • The author indicates that caloric reduction extends the life of a mammalian cell by
    11·1 answer
  • Which of the following best describes how the author views people's theater?
    10·1 answer
  • How ya'll doing? <br> 1<br> 2<br> 3<br> 4<br> 5<br> 6<br> 7<br> 8<br> 9<br> 10<br> ?
    15·2 answers
  • a hyperbola has vertices (±5, 0) and one focus at (6, 0). what is the equation of the hyperbola in standard form?
    10·1 answer
  • Do dinosaurs have chest hair??????
    9·2 answers
  • PLEASE HELP I WILL GIVE BRAINEST !!
    8·1 answer
  • The reader can infer that the human genome project involves painstakingly detailed work. Select three sentences from the text th
    13·1 answer
  • Using good judgment and making decisions are examples of which career skill?.
    10·1 answer
  • The reaction between solid white phosphorus and oxygen produces solid tetraphosphorus decoxide.
    13·1 answer
  • determines the capability of the mobile device, such as screen resolution, and directs browsers to CSS.
    15·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!