Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Language is java Objective: In this assignment, we ask you to implement a student grade calculation program. Step 1. Your program will get add(adding a

Language is java

image text in transcribed

image text in transcribed

Objective: In this assignment, we ask you to implement a student grade calculation program. Step 1. Your program will get add(adding a grade for a student) commands. User can enter an add command as below: add add add and so on. Note: Please, note that if the StudentID is entered for the first time, you need to add Student first. Otherwise, you need to add the grade to the existing student. There can be up to 10 grades for a student. Note: Studentin needs to be at this format: 2 digits number, 3 characters, 5 digits number For example, 12ABC12345. If the format is wrong, the program will give a wrong input message. Step 2. After adding all grades, your program will get calc(calculating the average) commands. With this command, your program will calculate the average for the entered grades for a student. Simply, you will sum up all grades, and divide by the total number of grades for that student. User can enter a calc command as below: calc The output will be as follows: :

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access with AI-Powered Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Students also viewed these Databases questions