Question: Exl: import java.util.Scanner; public class GradeAverage public static void main( String argsI) Scanner input- new Scanner( System.in); int total; int gradeCounter int grade int average;

 Exl: import java.util.Scanner; public class GradeAverage public static void main( String

Exl: import java.util.Scanner; public class GradeAverage public static void main( String argsI) Scanner input- new Scanner( System.in); int total; int gradeCounter int grade int average; total 0; gradeCounter 1; while (gradeCounter10) System.out.print("Enter grade:"); grade - input.nextlnt0: total total +grade; gradeCounter gradeCounter 1; average -total /10; System.out.printf "InTotal of all 10 grades is %d ", total ); System.out.printf "Class average is %din", average ); . Modify the above program to read the data from a file called student.dat Extend the pro gram to assign letter grades. program to count how many students will get an A

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!