| princemoon (11) | |
|
Write the program that prints following on the screen using setw manipulator. * * * * * * * * * * * * * * * | |
|
|
|
| Awais Tahir (17) | |||
Try this one, but it is not code practice you must use use a couple of for loop
| |||
|
|
|||
| Awais Tahir (17) | |||
with for loop u must try this code.
| |||
|
Last edited on
|
|||
| sulemanzp (1) | |
| Fatimah jinnah university assignment.. first semester. I already made all assignment for my kazan there. u Want? contact me. | |
|
|
|
| Chervil (812) | |
What about using cout.fill() or setfill() in conjunction with setw() ?That way you have one line initialise, two lines: for loop, and one line tidy up. Total four lines (plus usual overheads for #include, main() etc.). | |
|
Last edited on
|
|