fork download
  1. #include <iostream>
  2. using namespace std;
  3.  
  4. int main() {
  5. int licznik=2.5, n=10;
  6.  
  7.  
  8. while(n > 5)
  9. {
  10. if(n/3 == n/3.)
  11. licznik++;
  12. n--;
  13. }
  14. printf("%f", licznik);
  15. printf("\n%f", n);
  16. return 0;
  17. }
Success #stdin #stdout 0s 4424KB
stdin
Standard input is empty
stdout
0.000000
0.000000