donmike25

ecp1016 tutorial 4(5ii)

Jun 30th, 2013
252
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.12 KB | None | 0 0
  1. #include <stdio.h>
  2.  
  3. int main()
  4.  
  5. {
  6.  
  7. int x;
  8.  
  9. x=2;
  10.  
  11. do { printf("%d\t",x);
  12.     x=x+2;
  13. }
  14.     while (x<100);
  15.  
  16. return 0;
  17. }
Advertisement
Add Comment
Please, Sign In to add comment