question archive Modify the program you created above (Hello_Ashford) to add three test scores and find the average
Subject:Computer SciencePrice:3.87 Bought7
Modify the program you created above (Hello_Ashford) to add three test scores and find the average. Use the PRINTLN to display your name, the scores and average.
Review
Primitive Data Type
Week1 Lab1 Simple JAVA Program
Delete System.out.println( "Hello Ashford Student.....")
Replace with:
String name = "enter your name here";
double Score1 = enter a test score between 1 and 100 here;
double Score2 = enter a test score between 1 and 100 here;
double Score3 = enter a test score between 1 and 100 here;
double Average = ( Score1 + Score2 + Score3)/3;
//now you are ready to print
System.out.println (name);
System.out.println (Score1);
System.out.println (Score2);
System.out.println (Score3);
System.out.println (Average);
Purchased 7 times