Solution in C #include<stdio.h> int main() { int i,n; scanf("%d",&n); if(5<n<2000) { for(i=1;i<=n;i++) { if(i%2==0) { printf("%d^2 = %d\n",i,i*i); } } } return 0; } ~~~~~~Happy Coding~~~~~~
No comments