can you guys help me with this i dont know what to do

Write a C++ program, which uses the cout object, which produces the following output:

/////
+”””””+
(| o o |)
| ^ |
| ‘-‘ |
+-------+

Last edited on
So use std::cout to print the six lines. That's it. Have you tried anything???
no i did not can u show me how to do it please
Last edited on
There's no point in someone else doing your homework for you. This program is one step up from "Hello World!" that you learn on day 1. https://en.wikibooks.org/wiki/C%2B%2B_Programming/Examples/Hello_world

You must be able to print a line to the screen or your teacher wouldn't assign you this problem. Give it a shot...
I don't want to help you completely either but, just each line you "cout << "" << endl;"
each individual line, with the "<< endl;" after each statement to show a new line!
Topic archived. No new replies allowed.