Advertisement
S_h_u_v_r_o

1073

Oct 19th, 2018
94
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.22 KB | None | 0 0
  1. #include<stdio.h>
  2. int main()
  3. {
  4. int a,b,c;
  5. scanf("%d",&a);
  6. for(b=2 ; b<=a ; b++)
  7. {
  8. if(b%2==0)
  9. {
  10. printf("%d^2 = %d\n",b,b*b);
  11. }
  12. }
  13.  
  14. return 0;
  15. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement