Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Assignment3C:I just didn't wanna take it!We have a very forgiving exam policy.If you miss Test 1, Test 2 or Test 3 for any reason (receiving

Assignment3C:I just didn't wanna take it!We have a very forgiving exam policy.If you miss Test 1, Test 2 or Test 3 for any reason (receiving a 0), that exam will be replaced by whatever grade you get on the final (which is comprehensive).Of course, that's a risky move (it's better to take the exams than rely on the final), but it helps students when "life gets in the way."The final exam also replaces your lowest test grade if the final exam is higher.Once the replacements have occurred, the overall score is calculated by taking the average of the quiz average, Test 1, Test 2, Test 3 and the Final Exam.The Final Exam does not replace the quiz average if it is lower.

For this assignment, you'll ask the user for a quiz average and grades for Test 1, Test 2, Test 3 and the Final Exam.The program will output the overall numeric average according to the policy described above. Hint #1: read in the variables first, then replace zeroes.Then, ask yourself, how do I know if Test 1 is the lowest of the tests?

Call the class Assignment3C, and put in a file called Assignment3C (.java, .cs or .cpp)

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

Financial management theory and practice

Authors: Eugene F. Brigham and Michael C. Ehrhardt

12th Edition

978-0030243998, 30243998, 324422695, 978-0324422696

Students also viewed these Programming questions