fork download
  1. #include <iostream>
  2. using namespace std;
  3.  
  4. int main(int argc, char **argv)
  5. {
  6. double x = 2.5; x = x + 0.5; cout << x << endl;
  7. return 0;
  8. }
Success #stdin #stdout 0s 4552KB
stdin
Standard input is empty
stdout
3