Question: Write a program to print the face on the left out of characters. Your program should have 6 System.out.printin(...) statements. Even for programs as simple
Write a program to print the face on the left out of characters. Your program should have 6 System.out.printin(...) statements. Even for programs as simple as this it helps to write and test your programs in small steps. Start with just the 2nd, 3rd, and 4th line and test that first. Note that the eyebrows are underscore characters. The 1st line for the hair uses double quotes. To include those in a string you must precede each with a backslash character like: The last 2 lines for the chin use backslashes and forward slashes. The backslashes will also need to be preceded with a second backslash like: We want to encourage you to have fun in this class. Write a second program that makes a face of
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
