Keeping track of players | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Keeping track of players

https://code.sololearn.com/cA6a16a8A11A Ok, I didn't do this code. It was taken from a website. There are lots of errors like no match for the operator, in switch case, there is jump to level, and crosses initialization. How can I fix all these errors?

10th May 2021, 6:42 PM
Ramisa Fariha
Ramisa Fariha - avatar
5 Answers
+ 1
@Martin ok I'll.Thank you
10th May 2021, 8:57 PM
Ramisa Fariha
Ramisa Fariha - avatar
+ 1
It was not debugging exercise...I gave this question on a certain website and they gave me this solution..now there are lots of errors @Martin..I took ss of the whole code but don't know how could I send you.In solo learn there is no option for sharing documents
11th May 2021, 6:58 AM
Ramisa Fariha
Ramisa Fariha - avatar
+ 1
@Martin I didn't know about that Public thing..I think I am going to skip this code
11th May 2021, 4:21 PM
Ramisa Fariha
Ramisa Fariha - avatar
+ 1
@Martin Thank you ..I'll do it understanding the steps explained by you
12th May 2021, 8:48 AM
Ramisa Fariha
Ramisa Fariha - avatar
0
The question Convert the following idea of keeping track of the players into a C++ program. The program should keep the profile and perform statistical analysis for a cricket team of maximum 30 players. The profile of each player contains the player's number, name, number of matches played, district, age, runs, boundaries, bowling over, wickets. The program will prompt the user to choose the operations of the player profile from a menu as shown below: ============================ Player Performance Analyzer ============================ 1. Add player profile 2. Delete player profile 3. Update player profile 4. View all player profile 5. Calculate an average runs and wickets for a selected player 6. Show the best batsman depending on the average runs 7. Show the best bowler depending on the average wickets 8. Sort players on the batting and bowling average
10th May 2021, 6:43 PM
Ramisa Fariha
Ramisa Fariha - avatar