fork download
  1. #include <stdio.h>
  2.  
  3. int main(void) {
  4.  
  5. float Gewicht;
  6. float Groesse;
  7. float BMI;
  8.  
  9. Gewicht=66;
  10. Groesse=1.88;
  11.  
  12. BMI = Gewicht / (Groesse * Groesse);
  13. printf("(%f * %f)/%f = %f\n", Groesse, Groesse, Gewicht, BMI);
  14.  
  15. return 0;
  16. }
Success #stdin #stdout 0s 2156KB
stdin
Standard input is empty
stdout
(1.880000 * 1.880000)/66.000000 = 18.673609