Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- bool isThere(char l)
- { bool is = false;
- for(int row =0 ; row<5;row++)
- {
- for(int col =0; col<5;col++)
- {
- if(a[row][col]==l) {is= true;}
- }
- }
- if(is) return true;
- else return false;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement