fork download
  1. #include <stdio.h>
  2.  
  3. int main(void) {
  4. int a=4;
  5. int b=9;
  6. long double c=0;
  7. c=a/b;
  8. printf("%d %d %Lf", a, b, c);
  9. return 0;
  10. }
  11.  
Success #stdin #stdout 0s 4252KB
stdin
Standard input is empty
stdout
4 9 0.000000