Question: Write a program in C ++ which calculates and displays on the screen all the following situations. Given the vector Students with student codes and

Write a program in C ++ which calculates and displays on the screen all the following situations. Given the vector Students with student codes and the other vector Grades with grades obtained in the course "C ++ Programming". This data (codes and grades) is entered by the user during the execution of the application. A. Fill in the vectors with the data set during execution. Display an error message whenever the grade is not from 4 to 10. B. Find the number of passing students. Find the average of students who have received passing grades. C. Write the order_Student_Grade () function which sorts the elements of the two vectors according to the descending order of the grade and display the ordered vectors. What is the highest grade obtained in the course "C ++ Programming"?

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!