While backward

This commit is contained in:
Dan Buch 2024-04-16 20:47:34 -04:00
parent 726566bb23
commit 94cd12ac82
Signed by: meatballhat
GPG Key ID: A12F782281063434

View File

@ -2,10 +2,10 @@
int main(int argc, char *argv[]) int main(int argc, char *argv[])
{ {
int i = 0; int i = 25;
while (i < 25) { while (i > 0) {
printf("%d", i); printf("%d", i);
i++; i--;
} }
// need this to add a final newline // need this to add a final newline