Write a program that displays the following pattern:

LANGUAGE: Java

CHALLENGE:

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

SOLUTION:

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");
}