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