fork download
  1. #include <iostream>
  2. using namespace std;
  3.  
  4. int main() {
  5. // your code goes here
  6. float s;
  7. float t;
  8. float v;
  9. cin>>s;
  10. cin>>t;
  11. v=s/t;
  12.  
  13. if(v<150)
  14. {cout<<"mała prędkość";}
  15. else
  16. {cout<<"duża prędkość";}
  17. cout<<v;
  18.  
  19. return 0;
  20. }
Success #stdin #stdout 0s 4540KB
stdin
3000
30
stdout
mała prędkość100