Write a program that draws your name and some ASCII art on the screen.
Remember that how to print out these special characters:
| \ | System.out.println("\\"); - it will just print one \ |
| new line | \n |
| tab | \t |
| " | switch them to single quotes - ' |
Add these lines of code to the top of your program:
//name: put your name here
//date: Sept 12 2004
//purpose: ASCII Art
//sources: http://users.inetw.net/~mullen/duke.htm
1. Go to: http://www.network-science.de/ascii/
.
2. Type in your own name.
3. Pick the font you want.
4. Paste it into Java in a blank program:
5. Google ASCII art. (Don't use Google images, just regular google). Find a
school appropriate picture. Paste it in under your name.
6. Choose Search -> Replace.
You need to replace " and \.
7. Then, add System.out.println(" to the front of each line.
8. Add "); to the end of each line
9. Put in the class lines at the top and two } at the bottom.
10 . Press indent and run the program.
11. Show Ms. Gorski when you are done.