Question: / / 2 . Declare an int variable called sum for the sum of the grades / / 3 . Declare a variable called average

//2. Declare an int variable called sum for the sum of the grades
//3. Declare a variable called average for the average of the grades
//4. Write a formula to calculate the sum of the 3 grades (add them up).
//5. Write a formula to calculate the average of the 3 grades from the type casting.
//6. Print out the average
 //2. Declare an int variable called sum for the sum of

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!