Question: Directions: Submit one document only. Clearly write your name and the activity number. Every answer must include the program with comments and a screenshot of
Directions: Submit one document only. Clearly write your name and the activity number. Every answer must include the program with comments and a screenshot of the program running on your computer. See rubric included in the syllabus. Activity #1 - ASCII Art (2pts) (1) Output this tree. (1 pt) **** ***** *** Java *** (2) Output this cat. (1 pt) AA 00 Use this default template below to complete your program. public class AsciiArt { public static void main(String[args) { /* Type your code here * } } Hint: A backslash in a string acts as an escape character, such as with a newline In. So, to print an actual backslash, escape that backslash by prepending another backslash. Ex: The following prints a single backslash: System.out.println("")
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
