IDNLearn.com offers a comprehensive solution for all your question and answer needs. Ask any question and get a thorough, accurate answer from our community of experienced professionals.
Answer:
C++
for (i = 1; i <= n; i++) {
flag = 1;
for (j = 1; j <= n; j++)
if (x[i][j] <> 0) {
flag = 0;
break;
}
if (flag == 1) {
printf ("First all zero row is: %d\n", i);
break;
}
}