Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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.


student submitted image, transcription available below 

----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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Income Tax Fundamentals 2013

Authors: Gerald E. Whittenburg, Martha Altus Buller, Steven L Gill

31st Edition

1111972516, 978-1285586618, 1285586611, 978-1285613109, 978-1111972516

More Books

Students also viewed these Programming questions