THE ASSIGNMENT:
Write a program that prints this output:
____ ____ _ ____ ___ ___
U /"___| __"| u /"| U|"___|u/ _"\ u / _"\ u
\| | u<\___ \/ u | |u \|___ \/ / U |/ | / U |/
| |/__u___) | \| |/ ___) | \// |,-.| \// |,-.
\____|____/>> |_| |____/ \___/(_/ \___/(_/
_// \\ )( (__)_//<,-,,-,>>\,-.// //
(__)(__)__) (__)(_/ \ ) (_/(__) (__)
Mr. Ascii does the Macarena.
o o o o o o <o <o>
^|\ ^|^ v|^ v|v |/v |X| \| |
/\ >\ /< >\ /< >\ /< >\
o> o o o o o o o
\ x </ <|> </> <\> <)> |\
/< >\ /< >\ /< >\ >> L
The ASCII images your program prints must be exactly like the ones
shown, in every way. (If you work smart with your editor it
won't take long to write the program. Ask me for some hints in
class.)
To refamiliarize yourself with the basic steps required for doing
a programming assignment, please refer to the
directions
for the Hello World! practice assignment.
To see some sample code similar in structure to what you need to make
for this assignment, see
makeBee.cpp
Note About A Small Glitch: Some of the characters in the
figures above are "backslashes" like these:
\\\\\
The backslash has a special meaning as an escape character, and
so you must use the escape sequence
\\ for each single
backslash you want to print. For example,
cout << "\\" ;
prints one single backslash, and
cout << "\\\\" ;
prints just two backslashes.
WHAT TO TURN IN:
Here is the list of things you have to turn in:
- At the start of class on the due
date place the following item on the "counter" in
front of me:
- a hardcopy (printed listing) of your program (the C++ source
code). Make sure all the code is properly formatted and that it all
shows on the paper.
- Before midnight on the the due
date upload the following to the Homework Submission
System:
- A copy of the source code (C++ code) (be sure your name is
in the comment section at the beginning of the program), named
sprog1.cpp
- and a (filtered) script showing a test run of the program,
named sprog1.script
DUE DATES:
For the due dates, see
the class schedule.
Note: I did not create the ascii art I used
for this assignment. I found the macarena
here and
generated "CS1500"
here.
You might want to try finding examples of ascii art with a
search engine. There is a lot of it out there.