Advertisement
Guest User

do while

a guest
Oct 24th, 2016
75
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.13 KB | None | 0 0
  1. #include <stdio.h>
  2.  
  3. main()
  4. {
  5. int x;
  6. x = 0;
  7. do
  8. {
  9. printf("%d", x);
  10. printf("\n");
  11. x = x+1;
  12. } while(x <= 10);
  13.  
  14. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement