Click here to Skip to main content
15,909,324 members

Comments by Member 14869002 (Top 1 by date)

Member 14869002 21-Jun-20 6:11am View    
thank u for helping but I'm still getting errors
#include <stdio.h>
int main()
{
int a[3][4] = { 1, 2, 3, 4, 5, 6, 7, 8, 9};

for (int i=0; i < 3; i++){
for (int j=0; j < 4; j++){
if (a[i][j]!=0)
goto reject;
}
printf(“First row that satisfies the condition is %d\n”, i);
break;
reject:
}
}