hi friend

i have a problem in coding a program it states that you have to take input of suppose ten players and their team with their batting average there may be all tn different team or any but less than ten and i have to sort them by their team and the one who has got highest batting average

plz help me out in this program as early as possible

Recommended Answers

All 2 Replies

uhhm, why don't you create an array of about 10 elements then, for each element it corresponds to a certain value of batting average? you may arrange the teams ascending or descendng order by converting them to ascii

What you haven't said (or shown) is what you've attempted to do yourself.
See the intro threads.

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.