Question: Can someone please help me out with this exercise ? *Solution should include using ( if statement, switch, while ) not arrays* Please write the

Can someone please help me out with this exercise ? *Solution should include using ( if statement, switch, while ) not arrays*
Please write the answer in java program format
Set total to zero Set grade counter to one While grade counter is less than or egual to ten Prompt the user enter the nert grade to Input the near grade Add the grade into the total Add one to the grade counter 100 Set the class average to the fotal divided by ten Print the class average Exercises 1. Write the Java program corresponding to the above algorithm. 2. Modify the program to read the data from a file called student. dat 3. Extend the program to assign letter grades 4. Extend the program to count how many students will get an A
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
