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, 22.06.2019 20:00
The blank button automatically displays next to the data when you select a range of numeric data which is an available option for creating a chart
Answers: 3
question
Computers and Technology, 23.06.2019 05:00
Which best explains why a digital leader would join a society specializing in technology
Answers: 1
question
Computers and Technology, 23.06.2019 16:30
20 points archie wants to use a reflector as he photographs a newlywed couple. what would he consider in his choice? a. shadow and sunny b. homemade and professional c. lamps and boards d. incident and reflected e. neutral density and enhancement
Answers: 3
question
Computers and Technology, 24.06.2019 10:10
Which view in a presentation program displays a split window showing the slide in the upper half and a blank space in the lower half?
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, 30.10.2020 22:20
question
Mathematics, 30.10.2020 22:20
question
Mathematics, 30.10.2020 22:20
question
Mathematics, 30.10.2020 22:20
question
Mathematics, 30.10.2020 22:20
Questions on the website: 13722360