Q:

(Display a pattern) Write a program that displays the following pattern:

0

(Display a pattern) Write a program that displays the following pattern:

All Answers

need an explanation for this answer? contact us directly to get an explanation for this answer

/* (Display a pattern) Write a program that displays the following pattern:
	    J     A    V     V    A
	    J    A A    V   V    A A
	J   J   AAAAA    V V    AAAAA
	 J J   A     A    V    A     A
*/
public class Exercise_01_03 {
	public static void main(String[] args){
		System.out.println("    J     A    V     V    A");
		System.out.println("    J    A A    V   V    A A");
		System.out.println("J   J   AAAAA    V V    AAAAA");
		System.out.println(" J J   A     A    V    A     A");
	}
}

need an explanation for this answer? contact us directly to get an explanation for this answer

total answers (1)

Similar questions


need a help?


find thousands of online teachers now