CodeMan
Home
Uva
AtCoder
Codechef
Codeforce
Hackerrank
LeetCode
Devskill
TopCoder
Spoj
Algorithm
Python3
Hackerearth
Uri
C++
Data Structure
Friday, August 26, 2016
uri- 1073 - Even Square
#include <stdio.h>
int main(){
int n,i;
scanf("%d",&n);
for (i=2;i<=n;i++){
if(i%2==0){
printf("%d^2 = %d\n",i,i*i);
}
}
return 0;
}
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment