Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Heights. ((C++ Arrays task)) The first line of the source data file indicates the number of students in the class n (n the average height

  1. Heights. ((C++ Arrays task))

The first line of the source data file indicates the number of students in the class n (n

the average height of the students in the class;

the average height of the girls in the class;

the average height of the boys of the class ;

a result whether basketball teams can be made up of girls and boys from the class.

Requirements for the basketball team: height not less than 175 cm, the team must have 7 players (5 main and 2 reserve).

image text in transcribed
I INITIAL DATA RESULTS 13 175 . 8 -178 172.57 175 179. 67 -186 girl team cannot be formed. 172 poy team cannot be formed 173 175 -185 -180 -169 165 176 172 -180

Step by Step Solution

There are 3 Steps involved in it

Step: 1

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

Students also viewed these Programming questions