Advertisement
Guest User

Untitled

a guest
Jun 28th, 2016
68
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.18 KB | None | 0 0
  1. #include <stdlib.h>
  2. #include <stdio.h>
  3.  
  4. int main (void){
  5. int i, j;
  6. int count;
  7. for(i = 2; i < 10; i*=2){
  8. for (j=1; j<i; j++)
  9. ++count;
  10. }
  11. printf("%d", count);
  12.  
  13. return 0;
  14.  
  15. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement