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

Other questions on the subject: Computers and Technology

image
Computers and Technology, 23.06.2019 06:00, Disd112984
Which statement is true of web-based social media? a. they allow consumers to interact with and update content. b. they cannot be updated easily, as compared to print media. c. they are expensive to produce and maintain, as compared to print and television. d. they can exist independent of the internet.
Answers: 1
image
Computers and Technology, 23.06.2019 13:30, powellmj9216
Spoons are designed to be used for: spring hammering. applying body filler. identifying high and low spots. sanding highly formed areas.
Answers: 3
image
Computers and Technology, 23.06.2019 23:30, econsta3
Perform an online search about the booting process of a computer and list all the steps
Answers: 2
image
Computers and Technology, 24.06.2019 06:30, meganwintergirl
Ineed to know the anwser to all these questions
Answers: 2
You know the right answer?
Anutritionist who works for a fitness club members by evaluating their diets. as part of her evalua...

Questions in other subjects:

Konu
Mathematics, 19.07.2019 09:10