Advertisement
Guest User

Untitled

a guest
Oct 23rd, 2016
67
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.14 KB | None | 0 0
  1. #include<stdio.h>
  2. int main()
  3. {
  4. int a = 1, i, n;
  5.  
  6. scanf("%d",&n);
  7.  
  8. for(i=0; i<n; i++){
  9. a *= 2;
  10. }
  11. printf("rez = %d", a);
  12. return 0;
  13. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement