Question: Using Java In this article , the American Heart Association recommends that adult men get no more than 36 grams of added sugar and adult
Using Java
In this article , the American Heart Association recommends that adult men get no more than 36 grams of added sugar and adult women get no more than 25 grams of added sugar per day.
In this program, ask the user to enter the number of grams of added sugar they have eaten that day. Using 30 grams as the cut off point, use a boolean statement to state if the user can eat more sugar.
Here is what your output should look like:
How many grams of sugar have you eaten today? 28 You can eat more sugar: true
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
