Program that displays JAVA word pattern.
Hi,
I am new here and thought I would see if anyone had any ideas on this program I am working on. I believe it is a loop. I need to set up the word JAVA with the letter J being made up of 6 Js, letter A 10 As, letter V 8 Vs, and last A 10 As.
I letters looks something like this and go across:
J
J
J J
J J
A
AA
AAAAA
A A
V V
V V
V V
V
So far I got the basic programming down:
public class JavaPattern {
public static void main (String[] args) {
//Create Java Pattern
Do I need to set up something to display the word: JAVA
This is in the first chapter of my book under programming exercises, but there is nothing in the book pertaining to creating patterns.
I am taking an online program, so I am not in contact with my instructor very often. Most of this I have been figuring out myself. Could someone explain how you create a pattern like this.
Thanks
Diana