Here i just try to create Bingo game...
Below i displayed the sample output...
I want to check how many rows are equal to zero. in the sample output in 1st row each element is zero .Like wise i want to check how many rows,column n diagonal values are equal to zero??? And if 5 row or column or diagonal are equal to zero then want to print as BINGO.
Declare a boolean "bool allZero = true" at the beginning of the loop, then set it to false as soon as you find a 0, or return false if you're un a function specifically written for the job.