Question
1) Write a C++ program to allow the user to enter the score of 8 courses and store them in an array. Then display
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...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 StartedRecommended Textbook for
Java How To Program Late Objects Version
Authors: Paul Deitel, Deitel & Associates
8th Edition
0136123716, 9780136123712
Students also viewed these Programming questions
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
View Answer in SolutionInn App