For each of the following, show the output.
a) ```
cout << "12345" << endl;
cout.width( 5 );
cout.fill( '*' );
cout << 123 << endl << 123;
```
b) ```
cout << setw( 10 ) << setfill( '$' ) << 10000;
```
c) ```
cout << setw( 8 ) << setprecision( 3 ) << 1024.987654;
```
d) ```
cout << showbase << oct << 99 << endl << hex << 99;
```
e) ```
cout << 100000 << endl << showpos << 100000;
```
f) ```
cout << setw( 10 ) << setprecision( 2 ) << scientific << 444.93738;
```
a) 12345
**123
123
b) $$$$$10000
c) 1024.988
d) 0143
0x63
e) 100000
+100000
f) 4.45e+002
You might also like to view...
LinkedIn is one the most popular instant messaging services
Indicate whether the statement is true or false
It is recommended that sans serif fonts be reserved for shorter blocks of text such as titles or headlines
Indicate whether the statement is true or false