Answered step by step
Verified Expert Solution
Question
1 Approved Answer
A teacher teaches students in three subjects: Science, Math and English. He always works with two students. He wants a program that helps him to
A teacher teaches students in three subjects: Science, Math and English. He always works with two students. He wants a program that helps him to record the grades of the three subjects he teaches, and calculate the average of the three subjects and show a Pass/Fail message for each student. The following picture shows how the program is to work:
Make a C++ program that solves this teacher problem.
Welcome to grading program Please input the two students names: George Annie Input the grades for George Math: 75 English: 85 Science: 100 Input the grades for Annie Math: 40 English: 100 Science: 65 Science Name George Annie 100. 00 75.00 85.00 65.00 40. 00 100.00 Math English Average 86. 67 68. 33 State Pass Fail
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started