Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

java only 6.1 LAB* (H) : Program: Grade calculator Program Specifications Write a program to calculate a course grade given points for homework quizes, midterm

java only
image text in transcribed
image text in transcribed
image text in transcribed
6.1 LAB* (H) : Program: Grade calculator Program Specifications Write a program to calculate a course grade given points for homework quizes, midterm exam, and final exam. Grades are calculated differently for undergrads, grads and d stance learners: Note this program is designed for incremental development. Complete each step and submi for grading before starting the next step. Only a portion of tests pass after each step but contirm progress. Step 1 (2 pts). Read from input student status (String), homework points, quiz points, midterm exam score, and final exam score (double) Valid student status includes undergrad (UG), grad (G), and distance leaner (OL) Calculate each category average using maximum points for homework (800), quizzes (400) midterm exam (150), and final exam (200). Output an error message if student status is not one of the three options. Otherwise, output category averages as a percentage using systetr. out. printf ("Honework: x.1f5x, , howework) submit for grading to confirm two tests pass. Step 3 ( 2 pto). Caleulate the course average based on student statis using the table below Output the course avexage Suarnit for grading to confirn five testspists. Fix il the input is? 0000.000.0,100.0100.0 The oustout in isiewirki 160.01 Gunteat 100,01 Hatekn 66.71 Finalisa trana 5000 0. avecagni 65.ab for grodrg th confint al tasts pass Step 4 (4 pts). identify the course letter grade based on the course average us ing the table below ouipur the course letter gnde subint for grading to confirm al tests pass 6.1 LAB* (H) : Program: Grade calculator Program Specifications Write a program to calculate a course grade given points for homework quizes, midterm exam, and final exam. Grades are calculated differently for undergrads, grads and d stance learners: Note this program is designed for incremental development. Complete each step and submi for grading before starting the next step. Only a portion of tests pass after each step but contirm progress. Step 1 (2 pts). Read from input student status (String), homework points, quiz points, midterm exam score, and final exam score (double) Valid student status includes undergrad (UG), grad (G), and distance leaner (OL) Calculate each category average using maximum points for homework (800), quizzes (400) midterm exam (150), and final exam (200). Output an error message if student status is not one of the three options. Otherwise, output category averages as a percentage using systetr. out. printf ("Honework: x.1f5x, , howework) submit for grading to confirm two tests pass. Step 3 ( 2 pto). Caleulate the course average based on student statis using the table below Output the course avexage Suarnit for grading to confirn five testspists. Fix il the input is? 0000.000.0,100.0100.0 The oustout in isiewirki 160.01 Gunteat 100,01 Hatekn 66.71 Finalisa trana 5000 0. avecagni 65.ab for grodrg th confint al tasts pass Step 4 (4 pts). identify the course letter grade based on the course average us ing the table below ouipur the course letter gnde subint for grading to confirm al tests pass

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

C++ Database Development

Authors: Al Stevens

1st Edition

1558283579, 978-1558283572

More Books

Students also viewed these Databases questions