Computer Science, asked by krshalu4, 3 months ago

pres
For Annual Sports events, College is selecting
members in Team for a National Level Games. For
one of the games, Team Selection Criterion is Height
Candidates who wish to be part of that team for any
game fill the registration form.
So, for a Game A, from N number of registered
candidates only first M number of Candidates will be
selected based on their heights.
Height/) is array of float representing heights of
registered candidates whose names are maintained
in a string array Candidates[] at the same index
position as of Height[].
The problem is to identify the Members selected for
Team for Game A (Display the Names of selected
Candidates)
Inputs are as follows
1. number of required players to form team -
<Integer
2 names of registered Participants. User can enter N
number of Names. Names should he
3. heights​

Answers

Answered by ShivangiShandilya
1

Answer:

your answer is in the pic below

hope it will help you

Similar questions