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 !” b.       If the grade input is 91-95, the remark is “ you performed a very satisfactory Job! Keep it up !” c.       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” e.       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”    SPECIFICATIONS that you need to follow: - You may only use the codes that we studied under our lectures. - All lines of codes should have a comment. - Save and Submit your cpp file as Surname - PE (Example: Pangaliman - PE.cpp)   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.

C++ for Engineers and Scientists
4th Edition
ISBN:9781133187844
Author:Bronson, Gary J.
Publisher:Bronson, Gary J.
Chapter4: Selection Structures
Section4.5: A Case Study: Solving Quadratic Equations
Problem 5E: (Data processing) Years that are evenly divisible by 400 or are evenly divisible by 4 but not by 100...
icon
Related questions
icon
Concept explainers
Question
100%

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 !”

b.       If the grade input is 91-95, the remark is “ you performed a very satisfactory Job! Keep it up !”

c.       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”

e.       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”

  

SPECIFICATIONS that you need to follow:

- You may only use the codes that we studied under our lectures.

All lines of codes should have a comment.

- Save and Submit your cpp file as Surname - PE (Example: Pangaliman - PE.cpp)

 

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.

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 !"
a.
b.
If the grade input is 91-95, the remark is "you performed a very satisfactory Job! Keep it up !"
c.
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 somry but you failed, we know you can do better next time"
SPECIFICATIONS that you need to follow:
- You may only use the codes that we studied under our lectures.
- AI lines of codes should have a comment.
· Save and Submit your cpp file as Surname - PE (Example: Pangaliman - PE.cpp)
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: Aguino
Input middle Initial: B
Input grade: 85
Result: Ana B Aquino, your perfomance is fair, try harder.
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 !" a. b. If the grade input is 91-95, the remark is "you performed a very satisfactory Job! Keep it up !" c. 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 somry but you failed, we know you can do better next time" SPECIFICATIONS that you need to follow: - You may only use the codes that we studied under our lectures. - AI lines of codes should have a comment. · Save and Submit your cpp file as Surname - PE (Example: Pangaliman - PE.cpp) 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: Aguino Input middle Initial: B Input grade: 85 Result: Ana B Aquino, your perfomance is fair, try harder.
Expert Solution
steps

Step by step

Solved in 6 steps with 4 images

Blurred answer
Knowledge Booster
Operators
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
C++ for Engineers and Scientists
C++ for Engineers and Scientists
Computer Science
ISBN:
9781133187844
Author:
Bronson, Gary J.
Publisher:
Course Technology Ptr