Skip to content

Instantly share code, notes, and snippets.

@cosinekitty
Last active May 18, 2020 23:52
Show Gist options
  • Select an option

  • Save cosinekitty/8b8ba1e890d601d161f4e30768dbd768 to your computer and use it in GitHub Desktop.

Select an option

Save cosinekitty/8b8ba1e890d601d161f4e30768dbd768 to your computer and use it in GitHub Desktop.
valid = 1;
for (i=0; i<3; ++i)
{
for (j=0; j<3; ++j)
{
if (a[i][j] < 0)
{
valid = 0;
break;
}
printf(" %9d", a[i][j]);
}
if (!valid)
break;
printf("\n");
}
/* ... remaining code ... */
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment