PROBLEM: Write a C++ program that will allow the user to input the First Name, Last name, Middle Initial, and grade of a student. The following conditions must be observed: a. If the grade input is 96-100, the remark is “ you performed an excellent job! Keep it up !" If the grade input is 91-95, the remark is " you performed a very satisfactory Job! Keep it up !" If the grade input is 86-90, the remark is “ you have satisfactory performance, you can improve some more. b. С. d. If the grade input is 80-85, the remark is " your performance is fair, try harder" If the grade input is 75-79, the remark is " your performance needs Improvement, you can do it If the grade input is below 75, the remark is “ we're sorry but you failed, we know you can do better next time" е. f. C.

Computer Networking: A Top-Down Approach (7th Edition)
7th Edition
ISBN:9780133594140
Author:James Kurose, Keith Ross
Publisher:James Kurose, Keith Ross
Chapter1: Computer Networks And The Internet
Section: Chapter Questions
Problem R1RQ: What is the difference between a host and an end system? List several different types of end...
icon
Related questions
Question

Write a program with the given situation and test your program using the three cases of the three students using the  C++ language.

PROBLEM:
Write a C++ program that will allow the user to input the First Name, Last name, Middle Initial, and grade of a student.
The following conditions must be observed:
If the grade input is 96-100, the remark is " you performed an excellent job! Keep it up !"
а.
b.
If the grade input is 91-95, the remark is " you performed a very satisfactory Job! Keep it up !"
с.
If the grade input is 86-90, the remark is “ you have satisfactory performance, you can improve some more. "
d.
If the grade input is 80-85, the remark is " your performance is fair, try harder"
If the grade input is 75-79, the remark is " your performance needs Improvement, you can do it"
е.
f.
If the grade input is below 75, the remark is " we're sorry but you failed, we know you can do better next time
Transcribed Image Text:PROBLEM: Write a C++ program that will allow the user to input the First Name, Last name, Middle Initial, and grade of a student. The following conditions must be observed: If the grade input is 96-100, the remark is " you performed an excellent job! Keep it up !" а. b. If the grade input is 91-95, the remark is " you performed a very satisfactory Job! Keep it up !" с. If the grade input is 86-90, the remark is “ you have satisfactory performance, you can improve some more. " d. If the grade input is 80-85, the remark is " your performance is fair, try harder" If the grade input is 75-79, the remark is " your performance needs Improvement, you can do it" е. f. If the grade input is below 75, the remark is " we're sorry but you failed, we know you can do better next time
Test your program using the following TEST CASES:
CASE 1:
Input first name: Juan
Input last name: Cruz
Input middle Initial: D
Input grade: 97
Result: Juan D Cruz, you performed an excellent job! Keep it up!
CASE 2:
Input first name: Maria
Input last name: Garcia
Input middle Initial: A
Input grade: 49
Result: Maria A Garcia, we're sorry but you failed, we know you can do better next time.
CASE 3:
Input first name: Ana
Input last name: Aquino
Input middle Initial: B
Input grade: 85
Result: Ana B Aquino, your performance is fair, try harder.
Transcribed Image Text:Test your program using the following TEST CASES: CASE 1: Input first name: Juan Input last name: Cruz Input middle Initial: D Input grade: 97 Result: Juan D Cruz, you performed an excellent job! Keep it up! CASE 2: Input first name: Maria Input last name: Garcia Input middle Initial: A Input grade: 49 Result: Maria A Garcia, we're sorry but you failed, we know you can do better next time. CASE 3: Input first name: Ana Input last name: Aquino Input middle Initial: B Input grade: 85 Result: Ana B Aquino, your performance is fair, try harder.
Expert Solution
steps

Step by step

Solved in 3 steps with 2 images

Blurred answer
Recommended textbooks for you
Computer Networking: A Top-Down Approach (7th Edi…
Computer Networking: A Top-Down Approach (7th Edi…
Computer Engineering
ISBN:
9780133594140
Author:
James Kurose, Keith Ross
Publisher:
PEARSON
Computer Organization and Design MIPS Edition, Fi…
Computer Organization and Design MIPS Edition, Fi…
Computer Engineering
ISBN:
9780124077263
Author:
David A. Patterson, John L. Hennessy
Publisher:
Elsevier Science
Network+ Guide to Networks (MindTap Course List)
Network+ Guide to Networks (MindTap Course List)
Computer Engineering
ISBN:
9781337569330
Author:
Jill West, Tamara Dean, Jean Andrews
Publisher:
Cengage Learning
Concepts of Database Management
Concepts of Database Management
Computer Engineering
ISBN:
9781337093422
Author:
Joy L. Starks, Philip J. Pratt, Mary Z. Last
Publisher:
Cengage Learning
Prelude to Programming
Prelude to Programming
Computer Engineering
ISBN:
9780133750423
Author:
VENIT, Stewart
Publisher:
Pearson Education
Sc Business Data Communications and Networking, T…
Sc Business Data Communications and Networking, T…
Computer Engineering
ISBN:
9781119368830
Author:
FITZGERALD
Publisher:
WILEY