A team has two types of players: Batsman, Baller. It is required to assess their performance in a particular tournament and thus find out the best player in each of the categories. The assessment criterion for each type of player is different. For batsman, it is the average of his scores through out the tournament. For ballers it’s the number of wickets taken in the tournament. Thus the performance is determined on the basis of score made (in-case of batsman), wickets taken (in-case of baller). There should be a display function that displays all the information of player of a particular category.
All 3 Replies
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.