fork(1) download
  1. #include <iostream>
  2. using namespace std;
  3.  
  4. int main() {
  5. // your code goes here
  6. int a=1;
  7. float b=123456.789;
  8. double c=123456.789;
  9. printf("a=%d\n",a);
  10. printf("b=%f\n",b);
  11. printf("c=%f\n",c);
  12. return 0;
  13. }
Success #stdin #stdout 0s 5320KB
stdin
Standard input is empty
stdout
a=1
b=123456.789062
c=123456.789000