fork download
  1. #include <stdio.h>
  2.  
  3. int main(void) {
  4. int gew;
  5. float gro;
  6. float bmi;
  7.  
  8. gew = 65;
  9. gro = 1.7;
  10.  
  11. bmi = gew/ ( gro * gro );
  12.  
  13. printf("Ihr BMI betraegt: %f", bmi);
  14. return 0;
  15. }
  16.  
Success #stdin #stdout 0s 2156KB
stdin
Standard input is empty
stdout
Ihr BMI betraegt: 22.491348