Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

1) Write a C++ program to allow the user to enter the score of 8 courses and store them in an array. Then display

image text in transcribed 

1) Write a C++ program to allow the user to enter the score of 8 courses and store them in an array. Then display the scores. Count how many students their scores are greater than 60, then print Pass. Count how many students their scores less than 60 then print Fail (using a loop over the array elements) based on the following output sample. Output: Enter 8 values of scores: 90 65 49 70 55 88 73 50 The scores are: 90 65 49 70 55 88 73 50 The total number of students whose scores greater than 60: 5 Pass The total number of students whose scores less than 60: 3 Fail

Step by Step Solution

There are 3 Steps involved in it

Step: 1

Heres a simple C program that fulfills the requirements include int main const int numCourse... 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

Java How To Program Late Objects Version

Authors: Paul Deitel, Deitel & Associates

8th Edition

0136123716, 9780136123712

More Books

Students also viewed these Programming questions