(Displaying Shapes with Asterisks) Write a program that prints a box, an oval, an arrow and a diamond as follows:



What will be an ideal response?


```
#include // allows program to perform input and output
using namespace std; // program uses names from the std namespace

int main()
{
cout << "********* *** * *\n"
<< "* * * * *** * *\n"
<< "* * * * ***** * *\n"
<< "* * * * * * *\n"
<< "* * * * * * *\n"
<< "* * * * * * *\n"
<< "* * * * * * *\n"
<< "* * * * * * *\n"
<< "********* *** * *" << endl;
} // end main
```

Computer Science & Information Technology

You might also like to view...

The Picture style is the way in which a picture is positioned relative to its surrounding text.

Answer the following statement true (T) or false (F)

Computer Science & Information Technology

You can ____________ the private key of specific certificates when they are issued. Doing so enables the key to be recovered later should it be lost in any way, such as by corruption or accidental deletion

a. Copy b. Archive c. Lock d. Overwrite

Computer Science & Information Technology

COGNITIVE ASSESSMENT What is the term for the area of the hard disk used for virtual memory?

A. a swap file B. a page C. a partition D. the cloud

Computer Science & Information Technology

What is a trunk port?

What will be an ideal response?

Computer Science & Information Technology