Guest User

Untitled

a guest
Jul 16th, 2018
75
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.16 KB | None | 0 0
  1. #include<stdio.h>
  2. int main()
  3. {
  4. for(int i = 1; i <= 10; ++i) // notice, using ++i
  5. {
  6. printf("%d ", i);
  7. }
  8. // final output 1 2 3 4 5 6 7 8 9 10
  9. return 0;
  10. }
Add Comment
Please, Sign In to add comment