Question: Java with if statements loops etc Question 1 Grading System Program) 6 pts In this question, you will write a program to estimate the letter

Java with if statements loops etcJava with if statements loops etc Question 1 Grading System Program) 6

Question 1 Grading System Program) 6 pts In this question, you will write a program to estimate the letter grade based on Concordia undergraduate grading system . . Your program should follow the following rules: Prompt the user to enter name, id and score and validates the information. The student name should be entered as "LastName, FirstName" (separated by comma). Please note the whole name should be saved in one string. The student ID must have 7 digits. The student's SCORE must greater or equal to 0 and less or equal to 100. If the user enters invalid information, your program should repeat the current question. If the user enters correct information, your program should display the letter grade based on the score. When the letter grade is displayed, the output should be "FirstName LastName got SCORE. Based on the grading system, FirstName (ID) will probably get X." . . COMP248/Winter 2021 - Assignment 2 Page 1 of 5 Please note, score >= 80, X = A, with the output message "Congratulations!"; score >= 70, X = B, with the output message "You are so close to Al"; score >= 60, X = C, with the output message "You can do better by more practice!"; score

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!