Question: Write a program that displays the first 3 letters in your first name in the following pattern. For example, if your name is Jonathan, the
Write a program that displays the first 3 letters in your first name in the following pattern. For example, if your name is Jonathan, the program should display:
| J | O | O | N | N | |||||||||
| J | O | O | N | N | N | ||||||||
| J | J | O | O | N | N | N | |||||||
| J | J | O | O | N | N |
Don't forget to add comments to your code (include you name in a comment) and use proper programming style.
3. Name your class A1 (that is an uppercase A followed by the number one).
4. Save your Java file as: A1.java
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
