Advertisement
rahat62

Toph-Easy Summation

Jan 30th, 2019
140
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.23 KB | None | 0 0
  1. C
  2. #include<stdio.h>
  3. #include<stdlib.h>
  4. int main()
  5. {
  6.    long long int t,n,i=1;
  7.  
  8.    scanf("%lld",&t);
  9.  
  10.    for(i=1;i<=t;i++)
  11.    {
  12.        scanf("%lld",&n);
  13.        printf("Case %lld: %lld\n",i,n*n);
  14.  
  15.    }
  16.  
  17.    return 0;
  18.  
  19. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement