fork download
  1. #include <stdio.h>
  2.  
  3. int main(void) {
  4. // your code goes here
  5. float x=3.14, y=567.175;
  6. double z=567.175;
  7. printf("x=%f\n", x);
  8. printf("x=%d\n", x);
  9. printf("y=%f\n", y);
  10. printf("z=%f\n", z);
  11. return 0;
  12. }
Success #stdin #stdout 0s 5308KB
stdin
Standard input is empty
stdout
x=3.140000
x=0
y=567.174988
z=567.175000