Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Programming Challenge 7.8 Grade Book A Teacher has 5 students who have taken four tests. Teh teacher uses the following grading scale to assign a

Programming Challenge 7.8 Grade Book

A Teacher has 5 students who have taken four tests. Teh teacher uses the following grading scale to assign a letter grade to a student,based on the average of his or her four test scores.

Test Score Letter Grade

90-100 A

80-89 B

70-79 C

60-69 D

0-59 F

Write a class that uses a string array or an ArrayList object to hold the five students names, an array of five character to hold the five student' letter grades, and give arrays of four doubles each to hold each students set of test scores. The class should have methods that return a specific students name, the averge test score, and a letter grade based on the average.

Demonstrate the class in a program that allows the user to enter each student's name and his or her four test scores. It shouldthen display each students average test score and letter grade.

Input validation: do not accept test scores than than zero or greaer than 100.

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored 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

Recommended Textbook for

DB2 Universal Database V7.1 Application Development Certification Guide

Authors: Steve Sanyal, David Martineau, Kevin Gashyna, Michael Kyprianou

1st Edition

0130913677, 978-0130913678

More Books

Students also viewed these Databases questions

Question

The nature of the issues associated with expatriate employment.

Answered: 1 week ago

Question

3. Who would the members be?

Answered: 1 week ago

Question

What was the role of the team leader? How was he or she selected?

Answered: 1 week ago