Answered step by step
Verified Expert Solution
Link Copied!

Question

00
1 Approved Answer

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
image text in transcribed
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

Step: 1

blur-text-image

Get Instant Access with AI-Powered 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

Students also viewed these Databases questions