0

How to make a full table with rows and columns in c++?

My book has questions which says make a table for player name it's cricket runs, it's innings and times not out he stays. And figure out it's batting average. Please help me.

10th Aug 2018, 11:01 AM
Prabhjot Singh Sahni
Prabhjot Singh Sahni - avatar
8 Answers
+ 1
basic code: just change it based on your requirement: https://code.sololearn.com/cM4xzbJYl3cl/?ref=app
10th Aug 2018, 2:46 PM
Ketan Lalcheta
Ketan Lalcheta - avatar
+ 2
Prabhjot Singh Sahni this is question answer section.. please don't expect people to code for you entirely... do share your code and let us know where you are confused or stuck... doing it yourself will help you to put your learning into implementation
10th Aug 2018, 12:41 PM
Ketan Lalcheta
Ketan Lalcheta - avatar
+ 1
we are happy to help you ...could you please share your code from where we will point out what is not right in same... or you want me to code for you ??
10th Aug 2018, 2:25 PM
Ketan Lalcheta
Ketan Lalcheta - avatar
0
Ketan Lalcheta I really appreciate your answer but the problem is I am a beginner and trying to solve this problem from 3 weeks. I searched on Google and tried to solve it many times but does not give me the desired results. I tried to solve it with array but it is making me more confused. I am physically handicapped so this restricted me to go to any institution or any other teacher help. So if you can help me to figure it out I'll be very thankful to you.
10th Aug 2018, 2:23 PM
Prabhjot Singh Sahni
Prabhjot Singh Sahni - avatar
0
try to do it with structure as member having name, runs, innings and notout
10th Aug 2018, 2:27 PM
Ketan Lalcheta
Ketan Lalcheta - avatar
0
Ketan Lalcheta Yes I want to code for me because it gives me an idea how to use array and how to deal with this type of problems. I really thank you because you are helping me a lot. Thank you again.
10th Aug 2018, 2:31 PM
Prabhjot Singh Sahni
Prabhjot Singh Sahni - avatar
0
But how to show the output in the form of table means rows and columns
10th Aug 2018, 2:39 PM
Prabhjot Singh Sahni
Prabhjot Singh Sahni - avatar
0
Ketan Lalcheta you didn't give any answer. Please reply.
11th Aug 2018, 1:47 PM
Prabhjot Singh Sahni
Prabhjot Singh Sahni - avatar