fork download
  1. #include <iostream>
  2. using namespace std;
  3.  
  4. int main() {
  5. float waga;
  6. float wzrost;
  7. float bmi;
  8. cin>>waga;
  9. cin>>wzrost;
  10. bmi=waga/(wzrost*wzrost);
  11. cout<<bmi;
  12. if(bmi>26)
  13. {cout<<"kot";}
  14. else
  15. {cout<<"pies";}
  16.  
  17.  
  18.  
  19.  
  20.  
  21.  
  22. // your code goes here
  23. return 0;
  24. }
Success #stdin #stdout 0s 4552KB
stdin
Standard input is empty
stdout
-infpies