Advertisement
NabilaShova

11150-Cola

Apr 26th, 2015
209
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.16 KB | None | 0 0
  1. #include<stdio.h>
  2. int main()
  3. {
  4.     int n,i,sum;
  5.     while(scanf("%d",&n)==1){
  6.          sum=(n/2)+n;
  7.          printf("%d\n", sum);
  8.     }
  9.     return 0;
  10. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement