Design, write in Java, test and document a program (application) that accepts a short (i.e. less
than 20 character) string from the user and prints it out on the screen in a certain pattern. In
response to the user keeping pressing enter, the program moves it across the page to bounce off
column 20 and return. Then the program terminates. Use “*” characters to fill in the unused
columns.
For example, suppose that the user enters “dipsy”. Here is the output; each line of output is in
response to the user pressing the “enter” key.
Please enter your string: dipsy
dipsy**************
*dipsy*************
**dipsy************
***dipsy***********
...etc ...
*************dipsy*
**************dipsy
*************dipsy*
************dipsy**
...etc...
*dipsy*************
dipsy**************
Program terminated.