commit 1f2261b5a3d4be901ef3f3bb43f2c7456c408427 parent 232b0356eb98950a08605b311087d07305e81115 Author: Quentin Carbonneaux <quentin.carbonneaux@yale.edu> Date: Fri, 6 Nov 2015 19:22:49 -0500 use the new && in test/prime.c Diffstat:
| M | minic/test/prime.c | | | 3 | +-- |
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/minic/test/prime.c b/minic/test/prime.c @@ -17,8 +17,7 @@ main() { t++; } if (p) { - if (c % 10 == 0) - if (c != 0) + if (c && c % 10 == 0) printf("\n"); printf("%4d ", n); c++;