lst-0863-godb.cpp
//#(compile) c++; compiler:g132; options:-O3 -std=c++23; libs:-
// https://godbolt.org/z/TMdzrjvhd
#include <iostream>
#include <ios> // left, right, internal
#include <iomanip> // setw
using std::cout; using std::endl;
int main() {
int val = -1000;
cout << std::setw(10) << std::internal
<< val << endl;
cout << std::setw(10) << std::left << val << endl;
cout << std::setw(10) << std::right
<< val << endl;
}