fork(1) download
  1. #include <iostream>
  2. using namespace std;
  3.  
  4. int main() {
  5. int Gew;
  6. float Gro;
  7. float bmi;
  8.  
  9. Gew = 65;
  10. Gro = 1.7;
  11.  
  12. bmi = Gew / (Gro * Gro );
  13.  
  14. cout << "Ihr BMI betrÃĪgt:" << bmi;
  15.  
  16. return 0;
  17. }
Success #stdin #stdout 0s 3456KB
stdin
Standard input is empty
stdout
Ihr BMI beträgt:22.4913