Skip to content

Instantly share code, notes, and snippets.

@arrbxr
Created February 18, 2018 19:41
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save arrbxr/4060531ff23acd0e5141f3928fc9c37e to your computer and use it in GitHub Desktop.
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
#include "stdio.h"
int main(void) {
int i = 1, j = 100;
while(j){
printf("%d ", i);
i++;
j--;
}
}
@arrbxr
Copy link
Author

arrbxr commented Feb 18, 2018

without any condition and break statement

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment