Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Java programming::::: Create a program that allows a user to calculate their final percentage and their letter grade in this CSC 200 class based on

Java programming:::::

Create a program that allows a user to calculate their final percentage and their letter grade in this CSC 200 class based on their scores for each graded activity. The user will be prompted for the score of each graded activity. There are 8 graded activities in this class. They are Concept Test 1, Programming Test 1, Concept Test 2, Programming Test 2, Project 1, Project 2, Concept Final, and Programming Final. Every time a user enters a value for one of the graded activities the program should check to make sure the value entered is a valid score for that graded activity. Every time a user enters a value for one of the graded activities the program should check to make sure the value entered is not less than 0 or greater than 100. If it is less than 0 or greater than 100, the program should print an error message and prompt the user again to enter a valid score for that activity. The user will continue to be prompted for a score until the user enters a score between 0 and 100. After all the scores have been entered, the program will replace any lower score(s) from Concept Tests with the one from the Concept Final. Then the program will replace any lower score(s) from the Programming Tests with the one from the Programming Final. Then the program will calculate the final percentage in the class based on the relative weight of each the activities. All tests are 15%, all projects are 10%, and each Final is 10%. Finally, the program will determine which letter grade the user should receive based on their final percentage in this class (90-100 A, 80-89 B, 65-79 C, 1-64 D, 0 F). The program should end by printing the final percentage and the letter grade associated with that percentage.

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_2

Step: 3

blur-text-image_3

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

Database Design And SQL For DB2

Authors: James Cooper

1st Edition

1583473572, 978-1583473573

More Books

Students also viewed these Databases questions

Question

Perform viability testing using the economics of one unit.

Answered: 1 week ago

Question

13. You always should try to make a good first impression.

Answered: 1 week ago