fork download
  1. #include <iostream>
  2. using namespace std;
  3.  
  4. int main() {
  5. cout.fill ('_');
  6. cout.width (10);
  7. cout.precision (3);
  8. cout << 0.6666;
  9. return 0;
  10. }
Success #stdin #stdout 0s 15240KB
stdin
Standard input is empty
stdout
_____0.667