Wednesday, June 15, 2016

SOLUTION OF URI 1073


// 1073 (Mahmud_Jamil) BRUR
//  Even Square



#include <stdio.h>
int main()
{
     int n, i;
     scanf("%d",&n);
     for (i=1;i<=n;i++){
     if (i%2==0)
     printf("%d^2 = %d\n", i, i * i);
     }
     return 0;
}



0 comments:

Post a Comment