fork download
  1. #include <iostream>
  2.  
  3. using namespace std;
  4.  
  5. int main(void)
  6. {
  7. float Gewicht;
  8. float Groesse;
  9. float BMI;
  10. cout << "Geben Sie Ihr Gewicht ein ( Bsp: 65 kg ).";
  11. cin >> Gewicht;
  12.  
  13. system("CLS");
  14.  
  15. cout << "Geben Sie Ihre Groesse ein ( Bsp: 1.70 m ).";
  16. cin >> Groesse;
  17.  
  18. system("CLS");
  19.  
  20. BMI = Gewicht / (Groesse * Groesse);
  21.  
  22. cout << "Ihr BMI beträgt:" << BMI;
  23.  
  24. system("pause");
  25.  
  26. return 0;
  27.  
  28. }
Compilation error #stdin compilation error #stdout 0s 0KB
stdin
65 1.7
compilation info
prog.c:1:20: fatal error: iostream: No such file or directory
compilation terminated.
stdout
Standard output is empty