Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Write a complete C++ program to calculate average grades of 10 students. You have to ask the user to enter the student Name and student's

image text in transcribed
Write a complete C++ program to calculate average grades of 10 students. You have to ask the user to enter the student Name and student's grade 10 times. If the grade is less than 50, you should NOT consider this grade in the average: discard the value. If the grade is greater than 50, you consider this grade in calculating the average and print the student name You have to use loop. You have option to use either while or for. Hint: the grade should be double type. Student Name should be string. Formula of the average For example: sum of 2 grades is sum- 81+82. Then the Average is sum/2

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

Fundamentals Of Database Systems

Authors: Ramez Elmasri, Sham Navathe

4th Edition

0321122267, 978-0321122261

More Books

Students also viewed these Databases questions

Question

1. Describe a dialectical approach to cultural transitions.

Answered: 1 week ago

Question

Find the derivative of y= cos cos (x + 2x)

Answered: 1 week ago