donmike25

ecp1016 tutorial 4(3i)

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