Answered step by step
Verified Expert Solution
Link Copied!

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:

image text in transcribed

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

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_2

Step: 3

blur-text-image_3

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

Beginning Databases With PostgreSQL From Novice To Professional

Authors: Richard Stones, Neil Matthew

2nd Edition

1590594789, 978-1590594780

More Books

Students also viewed these Databases questions

Question

=+ Explain support groups and other resources for training.

Answered: 1 week ago

Question

What is DDL?

Answered: 1 week ago