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*d;
  12. printf("%d\n",x);
  13. }
  14. printf("count=%d\n,L=%d\n",count,L);
  15. return 0;
  16. }
Success #stdin #stdout 0.01s 5436KB
stdin
Standard input is empty
stdout
0
1
1
2
3
4
5
6
count=0
,L=0