Details of this Paper

The American Heart Association




The American Heart Association 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 the 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 program in Visual Basic that requests the name number of calories per serving, and the grams of fat per serving as input, and tells whether the food meets the American Heart Association recommendation.


Paper#70531 | Written in 18-Jul-2015

Price : $27