Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

Q)- i hav difficulty to create a cricketscoreboard simulator???plz help me out t

ID: 3612938 • Letter: Q

Question

Q)-i hav difficulty to create a cricketscoreboard simulator???plz help me out thank you.. Statement
You have to implement a cricket scoreboard which displays thecurrent position of a cricket
match after reading the ball by ball match data from a file.
You have to implement all the playing rules of cricket Q)-i hav difficulty to create a cricketscoreboard simulator???plz help me out thank you.. Statement
You have to implement a cricket scoreboard which displays thecurrent position of a cricket
match after reading the ball by ball match data from a file.
You have to implement all the playing rules of cricket

Explanation / Answer

If you send me a sample data file I'll see what I can do. I know nothing about cricket, so I'll need an explanation of thescoring to go with the data file sorry this was supposed to be a message to you not posted asan answer. This is what I've started #include #include using namespace std; int main() {string team[2],filename; int wickets[2],lastinns[2],overs[2],i; ifstream in; coutfilename; in.open(filename);          //open file if(in.fail())            //is it ok? { cout