fork download
  1. #include <stdio.h>
  2.  
  3. int main(void) {
  4. float a;
  5. float b;
  6. float c;
  7.  
  8. printf("Die folgende gleichung wird ausgeführt \"c=a/(b*b)\"\n");
  9. scanf("%f", &a);
  10. printf("a=%f\n\n",a );
  11.  
  12. scanf("%f", &b);
  13. printf("b=%f\n\n", b);
  14.  
  15. c=a/(b*b);
  16. printf("c=%f\n\n", c);
  17. return 0;
  18. }
  19.  
Success #stdin #stdout 0s 2160KB
stdin
65 1.7
stdout
Die folgende gleichung wird ausgeführt "c=a/(b*b)"
a=65.000000

b=1.700000

c=22.491348