fork(6) download
  1. #include <iostream>
  2. #include <iomanip>
  3.  
  4. using namespace std;
  5.  
  6. int main()
  7. {
  8. cout << fixed << setprecision(6) << setw(9) << setfill(' ') << -0.152454345 << " ";
  9. cout << fixed << setprecision(6) << setw(9) << setfill(' ') << -0.7545 << endl;
  10. cout << fixed << setprecision(6) << setw(9) << setfill(' ') << 0.15243 << " ";
  11. cout << fixed << setprecision(6) << setw(9) << setfill(' ') << 0.9154878774 << endl;
  12. }
Success #stdin #stdout 0s 4476KB
stdin
Standard input is empty
stdout
-0.152454 -0.754500
 0.152430  0.915488