Computers and Technology

Write the program studentgradedemo that attempts to create several valid and invalid reportcard objects. immediately after each instantiation attempt, handle any thrown exceptions by displaying an error message. create a reportcard class with four fields for a student name, a numeric midterm grade, a numeric final exam grade, and letter grade. the reportcard constructor requires values for the name and two numeric grades and determines the letter grade. upon construction, throw an argumentexception if the midterm or final exam grade is less than 0 or more than 100. the letter grade is based on the arithmetic average of the midterm and final exams using a grading scale of a for an average of 90 to 100, b for 80 to 90, c for 70 to 80, d for 60 to 70, and f for an average below 60. display all the data if the instantiation is successful.

answer
Answers: 1

Other questions on the subject: Computers and Technology

image
Computers and Technology, 23.06.2019 06:00, 573589
What machine listens for http requests to come in to a website’s domain? a. a router b. a browser c. a server d. a uniform resource locator
Answers: 1
image
Computers and Technology, 23.06.2019 13:30, small77
Font size, font style, and are all aspects of character formatting.
Answers: 2
image
Computers and Technology, 24.06.2019 00:30, lovemusic4
Setting up a home network using wireless connections is creating a a. vpn b. lan c. wan d. mini-internet
Answers: 2
image
Computers and Technology, 24.06.2019 15:00, bsndb5638
Universal windows platform is designed for which windows 10 version?
Answers: 1
Do you know the correct answer?
Write the program studentgradedemo that attempts to create several valid and invalid reportcard obje...

Questions in other subjects:

Konu
Mathematics, 31.08.2019 00:30
Konu
Physics, 31.08.2019 00:30