Buy Solved Penn Foster 418828
John Raymond was so pleased with the program you created for his clients that he refers you to his
coworker, a nutritionist in the same fitness facility. The nutritionist would like you to create a program that calculates fat grams and calories. ReadProgramming Exercise 3 on page 279 for the information for your program, then
1. Create the pseudocode for this program.
2. Create a flowchart for this program
Fat Gram Calculator
Design a program that asks 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 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 nutritionists classify 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.
Want Help with Penn Foster?
Are you suffering together with your online classes? Are you wondering, can I pay a person to finish elegance online for me? Do you need a person that will help you out? You have come to the proper place. At Get Exam Done, we provide skilled lecturers who will cope with your everyday online elegance portals. You do not ought to do anything, not to mention search, or pay someone to take my online class. Everything in your portal could be accomplished from our quit, including assignments, discussions, and quizzes.