Created
February 18, 2018 19:41
-
-
Save arrbxr/4060531ff23acd0e5141f3928fc9c37e to your computer and use it in GitHub Desktop.
Program To Print 1 to 100 using while loop created by arrbxr - https://repl.it/@arrbxr/Program-To-Print-1-to-100-using-while-loop
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include "stdio.h" | |
int main(void) { | |
int i = 1, j = 100; | |
while(j){ | |
printf("%d ", i); | |
i++; | |
j--; | |
} | |
} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
without any condition and break statement