subject

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.

ansver
Answers: 1

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 23:00
Which factor is the most important when choosing a website host? whether customers will make secure transactions the number of email accounts provided the purpose of the website the quality of the host control panel
Answers: 3
question
Computers and Technology, 22.06.2019 23:30
What is the digital revolution and how did it change society? what are the benefits of digital media?
Answers: 1
question
Computers and Technology, 23.06.2019 09:00
What provides an array of buttons for quick access to commonly used commands and tools
Answers: 1
question
Computers and Technology, 23.06.2019 09:30
After you present a proposal, the committee starts asking you questions, some beyond the strict focus of your proposal. they ask questions about implications in other fields and knowledge about other fields. you are asked to redo your proposal. what is most likely missing? breadth of material depth of material clarity of material details of material
Answers: 1
You know the right answer?
Write the program studentgradedemo that attempts to create several valid and invalid reportcard obje...
Questions
question
Mathematics, 13.10.2020 15:01
question
Mathematics, 13.10.2020 15:01
question
Mathematics, 13.10.2020 15:01
question
Mathematics, 13.10.2020 15:01
Questions on the website: 13722362