The council suggest that at most 30 of the calories in our


The council suggest that at most 30% of the calories in our diet come from fat. Although food labels give the number of calories

and amount of fat per serving, they often do not give percentage of calories from fat. This percentage can be calculated by

multiplying the number of grams of fat in one serving by 9 and dividing that number by the total number of calories per serving.

Write a Visual Basic 2010 program that requests the name of food and number of calories per serving, and the grams of fat per

serving as input, and tells whether the food meets council's recommendation.

 

Solution Preview :

Prepared by a verified Expert
Programming Languages: The council suggest that at most 30 of the calories in our
Reference No:- TGS01242797

Now Priced at $25 (50% Discount)

Recommended (95%)

Rated (4.7/5)