(This is how the output should come and please answer it as soon as possible) Output: 1.==================================== Hogwart's Dragons is a Quidditch team. Number of players in Hogwart's Dragons is 2 The Players are: Seeker: Player name: Harry Potter, House: Gryffindor Chaser: Player name: Katie Bell, House: Gryffindor 2.==================================== We do not have enough players to form a squad. 3.==================================== 4.==================================== Hogwart's Dragons is a Quidditch team. Number of players in Hogwart's Dragons is 4 The Players are: Seeker: Player name: Harry Potter, House: Gryffindor Chaser: Player name: Katie Bell, House: Gryffindor Beater: Player name: Vincent Crabbe, House: Slytherin Keeper: Player name: Miles Bletchley, House: Slytherin 5.==================================== We do not have enough players to form a squad. 6.==================================== We have enough players to form a squad. But we cannot form a perfect squad. 7.==================================== Hogwart's Dragons is a Quidditch team. Number of players in Hogwart's Dragons is 6 The Players are: Seeker: Player name: Harry Potter, House: Gryffindor Chaser: Player name: Katie Bell, House: Gryffindor Beater: Player name: Vincent Crabbe, House: Slytherin Player name: Fred Weasley, House: Gryffindor Keeper: Player name: Miles Bletchley, House: Slytherin Player name: Ethan Humberstone, House: Hufflepuff 8.==================================== We have enough players to form a squad. Also we can form a perfect squad!!
(This is how the output should come and please answer it as soon as possible)
Output:
1.====================================
Hogwart's Dragons is a Quidditch team.
Number of players in Hogwart's Dragons is 2
The Players are:
Seeker:
Player name: Harry Potter, House: Gryffindor
Chaser:
Player name: Katie Bell, House: Gryffindor
2.====================================
We do not have enough players to form a squad.
3.====================================
4.====================================
Hogwart's Dragons is a Quidditch team.
Number of players in Hogwart's Dragons is 4
The Players are:
Seeker:
Player name: Harry Potter, House: Gryffindor
Chaser:
Player name: Katie Bell, House: Gryffindor
Beater:
Player name: Vincent Crabbe, House: Slytherin
Keeper:
Player name: Miles Bletchley, House: Slytherin
5.====================================
We do not have enough players to form a squad.
6.====================================
We have enough players to form a squad.
But we cannot form a perfect squad.
7.====================================
Hogwart's Dragons is a Quidditch team.
Number of players in Hogwart's Dragons is 6
The Players are:
Seeker:
Player name: Harry Potter, House: Gryffindor
Chaser:
Player name: Katie Bell, House: Gryffindor
Beater:
Player name: Vincent Crabbe, House: Slytherin
Player name: Fred Weasley, House: Gryffindor
Keeper:
Player name: Miles Bletchley, House: Slytherin
Player name: Ethan Humberstone, House: Hufflepuff
8.====================================
We have enough players to form a squad.
Also we can form a perfect squad!!
Trending now
This is a popular solution!
Step by step
Solved in 4 steps with 3 images