194k views
4 votes
Java Eclipse homework. I need help coding this

Project Folder: Lesson 03
package: challenge3B
Class: ChallengeProject3B

Complete the code challenge below.

(You will need to use escape sequences to print the \ and “ characters )

Write a program that displays the following:

1. Write code that displays your name inside a box on the console screen, like this:

+-----------------+

­­| Your Name |

+-----------------+

2. Write code that prints a face, using text characters, hopefully better looking than this one:

//////

| o o |

(| ^ |)

| \_/ |

-------

3. Write code that prints a tree:

/\

/ \

/ \

/ \

--------------

“ “

“ “

“ “

User Wono
by
6.5k points

1 Answer

2 votes

public class ChallengeProject3B{

public static void main(String [] args) o o

}

I hope this helps!

User AlexC
by
6.3k points