Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

image text in transcribed

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 "LostName, 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 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 Ar; 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

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

Data And Databases

Authors: Jeff Mapua

1st Edition

1978502257, 978-1978502253

More Books

Students also viewed these Databases questions