Mathematics
Mathematics, 17.11.2019 19:31, manou76

Urgent answers design a program that asks for the number of fat grams and calories in food items. validate the input as follows:

*make sure the number of fat grams and calories is not less than 0.

*according to nutritional formulas, the number of calories cannot exceed fat grams x 9. make sure that the number of calories entered is not greater than fat grams x 9.

once correct data has been entered, the program should calculate and display the percentage of calories that come from fat. use the following formula:

percentage of calories from fat=(fat grams x 9) ÷ calories

some nutritionist classify a food as "low fat" if less than 30 percent of its calories come from fat. if the results of this formula are less than 0.3, the program should display a message indicating the food is low in fat.

answer
Answers: 2

Other questions on the subject: Mathematics

image
Mathematics, 21.06.2019 14:10, harlon852
For the given quadratic equation convert into vertex form, find the vertex and find the value for x=6 y=-2x^2+2x+2
Answers: 2
image
Mathematics, 21.06.2019 17:00, JOEREACH
Use the expression below.–4b + 8c + 12 – 8b – 2c + 6part asimplify the expression. enter your answers in the boxes. b + c + part bfactor the simplified expression using the gcf. a. 2(–2b + c + 3) b. 3(–2b + c + 3) c. 4(–2b + c + 3) d. 6(–2b + c + 3)part cwhat is the value of the expression when b = 2 and c = –3? enter your answer in the box.
Answers: 1
image
Mathematics, 21.06.2019 19:00, sreyasusanbinu
45% of the trees in a park are apple trees. there are 27 apple trees in the park. how many trees are in the park in all?
Answers: 1
image
Mathematics, 21.06.2019 21:30, xxaurorabluexx
Use the method of cylindrical shells to find the volume v generated by rotating the region bounded by the curves about the given axis. y = 7ex, y = 7e^-x, x = 1; about the y-axis
Answers: 2
Do you know the correct answer?
Urgent answers design a program that asks for the number of fat grams and calories in food items. v...

Questions in other subjects:

Konu
Mathematics, 13.12.2019 01:31
Konu
Mathematics, 13.12.2019 02:31