1 /* C++ How to Program, 9/E, by Paul Deitel & Harvey Deitel.
3 Solution of exercise 2.21:
4 (Displaying Shapes with Asterisks) Write a program that prints a box, an oval,
5 an arrow and a diamond as follows:
7 Written by Juan Carlos Moreno (jcmhsoftware@gmail.com), 2022/01/03 */
15 cout
<< "********* *** * *" << endl
;
16 cout
<< "* * * * *** * *" << endl
;
17 cout
<< "* * * * ***** * *" << endl
;
18 cout
<< "* * * * * * *" << endl
;
19 cout
<< "* * * * * * *" << endl
;
20 cout
<< "* * * * * * *" << endl
;
21 cout
<< "* * * * * * *" << endl
;
22 cout
<< "* * * * * * *" << endl
;
23 cout
<< "********* *** * *" << endl
;