subject

Anutritionist who works for a fitness club members by evaluating their diets. as part of her evaluation, she asks members for the number of fat grams and carbohydrate grams that they consumed in a day. then, she calculates the number of calories that result from the fat, using the following formula:
calories from fat = fat grams x 9
next, she calculates the number of calories that result from the carbohydrates using the following formula:
calories from carbs = carbs grams x 4
create an application that will make these calculations. in the application, you should have the following methods:
fatcalories-this method should accept a number of fat grams as an argument and return the number of calories from that amount of fat.
carbcalories-this method should accept a number of carbohydrates grams as an argument and return the number of calories from that amount of carbohydrates.

ansver
Answers: 2

Another question on Computers and Technology

question
Computers and Technology, 23.06.2019 13:00
Which one of the following voltages should never be measured directly with a vom? a. 1200 v b. 500 v c. 800 v d. 100v
Answers: 2
question
Computers and Technology, 23.06.2019 14:30
Which of the following would not be considered a pc? a. mainframe b. desktop c. tablet pc d. laptop
Answers: 2
question
Computers and Technology, 24.06.2019 14:30
When workers demonstrate patience, are able to manage there emotions, and get along with other employees, which skills are being displayed?
Answers: 1
question
Computers and Technology, 25.06.2019 05:30
In our new car, we were able to drive 30 miles in a half an hour. from this information, we can determine the car's a. acceleration. b. velocity. c. speed. d. direction.
Answers: 1
You know the right answer?
Anutritionist who works for a fitness club members by evaluating their diets. as part of her evalua...
Questions
question
Mathematics, 03.03.2021 22:20
question
Physics, 03.03.2021 22:20
question
History, 03.03.2021 22:20
question
Chemistry, 03.03.2021 22:20
question
Spanish, 03.03.2021 22:20
question
Mathematics, 03.03.2021 22:20
Questions on the website: 13722360