Question: please read the instructions and Write a Java program that does the following: 1) At the beginning of your program, include comments that say: MyTest1

please read the instructions and Write a Java program that does the following: 1) At the beginning of your program, include comments that say: MyTest1 implements an application that displays four lines containing 'Waves and Sailboats'. 2) The Class name should be Mytest1 3) Use the following ASCII characters: ASCII 9, ASCII 10, ASCII 40, ASCII 41, ASCII 47, ASCII 92, ASCII 95, ASCII 126 4) Write a for loop that repeats twice and whose body consists of one print statement that outputs the lines in the image below. Use the repeat() method where appropriate.


----jGRASP exec: java Mytest1 2222 ~_/)~~~~~_/)~~~~~~ ~(\_~ ~~~~~~~~ (\_~ 2222 22222 ~_/)~~~~~ 

----jGRASP exec: java Mytest1 2222 ~_/)~~~~~_/)~~~~~~ ~(\_~ ~~~~~~~~ (\_~ 2222 22222 ~_/)~~~~~ _/)~~~~~~ 22222 ~~~~~~(\_~~~~~~~~ ( \_~ End of execution! ---jGRASP: operation complete.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!