Programming Step 9
Now that the variables are declared and have the values assigned, we can add the statement to calculate the total number of grams and assign that answer to the variable grams.
Previous slide
Next slide
Back to first slide
View graphic version