Home
C
C++
JAVA
JavaScript
Mathematics
Data Structure
UVa Solutions
URI Solutions
Codeforces
Hackerrank
Algorithms
Number Theory
Physics
Programming Contest
Programming Q&A
Softwares
Projects
My Blog
About
Contact
Sunday, February 21, 2016
URI 1073 - Even Square
#include <stdio.h>
int main() {
int i,n;
scanf("%d",&n);
for(i=2; i<=n; i=i+2){
printf("%d^2 = %d\n",i,i*i);
}
return 0;
}
No comments:
Post a Comment
Thank you for commenting. Please wait for response :)
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment
Thank you for commenting. Please wait for response :)