The program below is the answer to Liang’s Introduction To Java Programming (9th Edition) Chapter 1 Exercise 1.3.
Question: Write a program that displays the following pattern.
1 2 |
/**<br /> *<br /> * @Author: Aghatise Osazuwa<br /> * Website: www.cscprogrammingtutorials.com<br /> *<br /> * Exercise 1.3 - Display A Pattern<br /> *<br /> */ <br /><br />public class Ex01_03 {<br /><br /> public static void main(String[] args) {<br /><br /> System.out.print(" J A V V A n");<br /> System.out.print(" J A A V V A A n");<br /> System.out.print(" J J AAAAA V V AAAAA n");<br /> System.out.print(" J J A A V A A n");<br /><br /> }<br />}<br /> |
Click here to see other solutions to Introduction to Java Programming.
1 Comment
The post is written in very a good manner and it contains many useful information for me.