Joined
Last Seen
0 Reputation Points
Unknown Quality Score
No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
0 Endorsements
Ranked #107.67K
1 Posted Topic
#include<iostream> using namespace std; char a[3][3]={};// A 3*3 character matrix to contain X's and O's /* This function returns true if a winner is decided otherwise it returns false */ bool Winner(char a[3][3]) { if((a[0][0]=='X'||a[0][0]=='O') && (a[0][0]==a[0][1]) && (a[0][1]==a[0][2]))return true; else if((a[0][0]=='X'||a[0][0]=='O') && (a[0][0]==a[1][0]) && (a[0][0]==a[2][0]))return true; else if((a[1][0]=='X'||a[1][0]=='O') && …
The End.
saurai3h