answersLogoWhite

0


Best Answer

the code for the box is:

# include <iostream>

using namespace std;

void main ()

{

cout << "*********\n";

cout << "*\t*\n";

cout << "*\t*\n";

cout << "*\t*\n";

cout << "*\t*\n";

cout << "*\t*\n";

cout << "*\t*\n";

cout << "*\t*\n";

cout << "*********\n";

the code for the oval is:

# include <iostream>

using namespace std;

void main ()

{

cout << " ***\n";

cout <<" * *\n";

cout <<"* *\n";

cout <<"* *\n";

cout <<"* *\n";

cout <<"* *\n";

cout <<"* *\n";

cout <<" * *\n";

cout << " ***\n";

the code for the arrow is:

# include <iostream>

using namespace std;

void main ()

{

cout << " * \n";

cout <<" ***\n";

cout <<"*****\n";

cout <<" * \n";

cout <<" * \n";

cout <<" * \n";

cout <<" * \n";

cout <<" * \n";

the code for the diamond:

# include <iostream>

using namespace std;

void main ()

{

cout << " *\n ";

cout <<" * *\n";

cout<<" * *\n";

cout<<" * *\n";

cout<<"* *\n";

cout<<" * *\n";

cout<<" * *\n";

cout <<" * *\n";

cout << " *\n ";

}

User Avatar

Wiki User

13y ago
This answer is:
User Avatar
More answers
User Avatar

Wiki User

10y ago

Write a program that prints a box and a diamond as follows

This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: Write an application that displays in the command window a box an oval an arrow and a diamond using asterisks as follows?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

What an application that displays a box an oval an arrow and diamond using asterisks?

Yes


What displays as a yellow diamond?

adjustment handle


What is it called that displays as a yellow diamond in Microsoft word?

resizing handle


What are the applications of diamond chip?

Depending on the quality of the diamond, a chip can be used either as an accent in jewelery, or in an industrial application.


How do you use the love poketch application in Pokemon diamond?

Tap the pokemon.


Can you see kohinoor diamond?

When the crown of the Queen Mother, Queen Elizabeth, now deceased, is on display in the Royal Crown Jewels displays in London, England, you can see the Koh-i-Noor diamond.


What museum has an exhibit that includes the Hope Diamond?

The National Museum of Natural History, at the Smithsonian Institution in Washington, DC displays an exhibit that includes the Hope Diamond.


Where do you get a friendship application in Pokemon diamond?

A lady in the pokecenter in Eterna city will give you it.


Can a diamond break?

With the application of sufficient force, yes, a diamond can break. Diamond cutters do it all the time. They actually use a hardened steel chisel and a hammer to cleave diamond. Certainly a diamond can be broken using a hammer and an anvil, but that is a poor use of the tools and a waste of a diamond.


What does the roulette app in Pokemon diamond do?

Its name says it all. It simply spins and stops at your command.


What is 83 carat diamond worth?

An 83 carat diamond is a very large diamond, and would command most any price you asked for it, depending on its colour, clarity and cut. Take your diamond to a certified gemologist who can help you document its characteristics, and potentially help you establish a market price for it.


In referring to ATV tire chains types and styles is diamond syle the same as saying X style?

In referring to ATV tire chains types and styles is diamond, they are the same in their reasons of application.