Advertisement
rafikamal

Print Odd Numbers

Jan 8th, 2013
74
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.13 KB | None | 0 0
  1. #include <stdio.h>
  2.  
  3. int main()
  4. {
  5.     int i;
  6.  
  7.     for(i = 1; i <= 100; i = i + 2)
  8.         printf("%d\n", i);
  9.  
  10.     return 0;
  11. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement