fork(1) download
  1. #include <stdio.h>
  2. int main (void)
  3. {
  4. int a=10;
  5. int b=5;
  6. float fZahl1=1;
  7. float fZahl2=7;
  8.  
  9. printf("iZahl1/iZahl2 = %d\n", a/b);
  10.  
  11. printf("fZahl1/fZahl2 = %f\n", fZahl1/fZahl2);
  12.  
  13. return(0);
  14. }
  15.  
Success #stdin #stdout 0s 2112KB
stdin
Standard input is empty
stdout
iZahl1/iZahl2 = 2
fZahl1/fZahl2 = 0.142857