Question: Create a program that gets user input for test and homework scores and calculates the students grade based on: Tests worth 80% Homework worth 20%

Create a program that gets user input for test and homework scores and calculates the students grade based on:

  • Tests worth 80%

  • Homework worth 20%

  • Start with 2 arrays (one for tests and and one for homework) - each of size 10

  • Prompt the user for scores (need some method to know if it is a test or HW score)

  • When they are finished entering scores - calculate the average for each category (array) and output each average - as well as there overall weighted grade.

  • Make sure that your program can handle if there are more or less than 10 grades for either category

In Java Please

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!