Question: In Java can toy modify this program so it reada 3 integer values from the keyboard. it should still compute the aum and average and

In Java can toy modify this program so it reada 3 integer values from the keyboard. it should still compute the aum and average and print these. label the output and your source code In Java can toy modify this program so it reada 3 integer

JUULOU Computation X Compile Undo Cut Copy Source Co public class Computation public static void main(String Il/Define a constant final int NUM_OF_GRADES = 3; // Define integer Value int grade1, grade2, grade3; int sum; double average; 11 Interger values grade1 = 2; grade2 = 3; grade3 = 2; sum = grade1 + grade2 + grade3; average = (double) sum / NUM_OF_GRADES; 7/Print the sum and average System.out.println("The sum is" + sum): System.out.println("The average is" + average)

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!