fork download
  1. #include <stdio.h>
  2. #include <iostream>
  3. #include <iomanip>
  4. int main()
  5. {
  6. int min=3,max=10,d=4,L=0,count=0;
  7. int i;
  8. for (i=min;i<=max;i++)
  9. {
  10. int x=i*i;
  11. x/=d;
  12. x*=d;
  13. printf("%d\n",x);
  14. }
  15. printf("count=%d\n,L=%d\n",count,L);
  16. return 0;
  17. }
Success #stdin #stdout 0.01s 5532KB
stdin
Standard input is empty
stdout
8
16
24
36
48
64
80
100
count=0
,L=0