#include using namespace std; int main() { double num; cout << "Example 1:" << endl; cout.width(10); cout << "ten" << endl; cout << "Example 2:" << endl; cout.width(10); cout.fill('x'); cout << "ten" << endl; cout << "Please enter a number: "; cin >> num; cout << "Example 3:" << endl; cout.precision(3); cout << "Number is: " << num << endl; return 0; }