Question: C++ DAS Part 2: Lab Tasks ( 10 points) Note: Copy this section into a new file then save it. You will only submit this

C++
DAS
C++DAS Part 2: Lab Tasks ( 10 points) Note: Copy this section

Part 2: Lab Tasks ( 10 points) Note: Copy this section into a new file then save it. You will only submit this section of the lab manual. Description: The exam committee in a school is in the process of collecting some statistics about the final exams. For that, they asked the instructors to provide the number of students who scored below and above the class average. They also asked for the minimum and the maximum scores. Problem: Given the marks of students and the class average, find the number of students scored below the average, the number of students scored above the average, the minimum, and the maximum scores. First, you need to construct the BST that represent the marks of students then find the required output. Input: Furst line consists of a single integer n represents the number of students in a class. Second line consists of float numbers represent the marks of each student. Third line consists of a single float number f represents the class average. Output: Four integers below, above, mill, and max that represent the number of students scored below the average, the number of students scored above the average, the minimum, and the maximum scores respectively. Example Run

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!