For your homework this week, check out number four, at the bottom of the post, here: https://www.lol-101.com/classrooms/introduction-to-java/1-7-what-is-output-what-is-output-formatting-what-are-escape-sequences. Try to create your own animal greeting that looks like the example greeting, and have some fun with that. If you are really stuck, then try to just print out the example animal greeting. Make sure you use escape sequences when you need to!
top of page
bottom of page
class Main { public static void main(String[] args) { System.out.println(" /\\_/\\ -----"); System.out.println("( ' ' ) /Hello\\"); System.out.println("( - ) <Junior|"); System.out.println(" | | | \\Coder!/"); System.out.println(" (_|_) -----"); } }