donmike25

ecp1016 tutorial 4(3iii)

Jun 28th, 2013
224
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=12;
  10.  
  11. do { printf("%d\t",x);
  12.     x=x/2;
  13. }
  14.     while (x>=1);
  15.  
  16. return 0;
  17. }
Advertisement
Add Comment
Please, Sign In to add comment