noshin98

uva 12992

Dec 15th, 2016
377
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.18 KB | None | 0 0
  1. #include<stdio.h>
  2. int main()
  3. {
  4.     int t,i,n;
  5.     scanf("%d",&t);
  6.     for(i=1;i<=t;i++)
  7.     {
  8.         scanf("%d",&n);
  9.         printf("Case #%d: %d\n",i,((n*2)-1));
  10.     }
  11. }
Add Comment
Please, Sign In to add comment