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
Semmy [17]
3 years ago
6

In pseudocode how can I calcute fat gram?​

Computers and Technology
1 answer:
arlik [135]3 years ago
5 0

Answer:Design a program that asks the user for the number of fat grams and calories in a food item. Validate the input as follows.

Make sure the number of fat grams and calories are not less than 0.

According to nutritional formulas, the number of calories cannot exceed fat grams * 9. Make sure that the number of calories entered is not greater than fat grams * 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 * 9) / Calories

Some nutritionists classify food as “ low fat” if less than 30percent 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.

Explanation:

You might be interested in
What is a fragmented disk?
jeka94
Disk fragmentation occurs when a file is broken up into pieces to fit on the disk. Because files are constantly being written, deleted and resized, fragmentation is a natural occurrence. When a file is spread out over several locations, it takes longer to read and write.
7 0
3 years ago
Where to get industrial circuits far cry 6
Bond [772]

Answer:

Lola's Shop. They are available in the El Este, Madrugada, and Valle de Oro areas.

8 0
3 years ago
PROCEDURE: Therapeutic infusion of saline solution with 5% dextrose IV, 500 ml for dehydration, lasting 48 minutes. what is the
Valentin [98]

Answer:

no

Explanation:

yes<em><u> </u></em><em><u>b</u></em><em><u>e</u></em><em><u>c</u></em><em><u>o</u></em><em><u>u</u></em><em><u>c</u></em><em><u>e</u></em><em><u> </u></em><em><u>n</u></em><em><u>o</u></em><em><u>t</u></em><em><u> </u></em><em><u>a</u></em><em><u>r</u></em><em><u>a</u></em><em><u>n</u></em><em><u>c</u></em><em><u>e</u></em><em><u> </u></em><em><u>t</u></em><em><u>h</u></em><em><u>e</u></em><em><u> </u></em><em><u>n</u></em><em><u>a</u></em><em><u>m</u></em><em><u>e</u></em><em><u> </u></em><em><u>o</u></em><em><u>f</u></em><em><u> </u></em><em><u>f</u></em><em><u>e</u></em><em><u>g</u></em><em><u>e</u></em><em><u>u</u></em><em><u>r</u></em><em><u> </u></em><em><u>s</u></em><em><u>p</u></em><em><u>e</u></em><em><u>c</u></em><em><u>h</u></em>

6 0
3 years ago
What the defination of electronics capacitor
kotegsom [21]
The definition<span> of a </span>capacitor<span> is a device to store an </span>electronic<span> charge for a short period of time that consists of two metallic plates separated by a dielectric.</span>
8 0
4 years ago
Why did artists use pinhole cameras during the renaissance?
Dima020 [189]
Pinhole cameras were one of the most sophisticated devices of the period, it made tasks much easier it basically worked exactly like the human eye and is something just like tracing.
8 0
3 years ago
Other questions:
  • What is a organisation in office technology
    7·1 answer
  • How do you adjust the shear of a shape?
    10·2 answers
  • What type of hardware enable user to interact with a computer
    15·1 answer
  • Which of the following statements is true?
    8·2 answers
  • CC stand for.....in the email platform?
    12·2 answers
  • Cual es el procedimientos para asistir en el transporte publico a personas discapacitadas
    6·1 answer
  • Peer collaboration helps develop critical-thinking skills, which is the ability to
    9·2 answers
  • Nobody mind this plz
    14·1 answer
  • One of the earliest computer networks was the ARPANET, developed in the early 1960s. The purpose of this network was to:
    13·2 answers
  • Cute nya diba I like bts army​
    10·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!