fork(2) download
  1. #include <iostream>
  2. #include <iomanip>
  3.  
  4. int main() {
  5. std::cout << std::fixed << std::setprecision(6) << 5.0f << std::endl;
  6. std::cout << std::fixed << std::setprecision(6) << 10.0f << std::endl;
  7. return 0;
  8. }
Success #stdin #stdout 0s 4524KB
stdin
Standard input is empty
stdout
5.000000
10.000000