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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started