fork download
  1. #include <iostream>
  2. using namespace std;
  3.  
  4. int main() {
  5. // your code goes here
  6.  
  7. float x;
  8. int z;
  9. float y;
  10.  
  11.  
  12.  
  13. cin >> x;
  14. cin >> z;
  15.  
  16.  
  17. y = x / z - 0.4;
  18.  
  19. cout << y;
  20.  
  21. return 0;
  22. }
Success #stdin #stdout 0s 3460KB
stdin
3.3
2
stdout
1.25