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.

Recommended Answers

All 3 Replies

Too bad I can't give you more bad rep for this.

So, either your lazy and can't be bothered to do the program for yourself OR you haven't been paying enough attention in class because from my experience, they wouldn't give you a task without teaching it.

i agree with you Phil++

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.