java语言程序设计(基础篇)第十版编程练习题[1.3]

(显示图案)编写一个程序,显示下面的图案:

    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
/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package dome1_2;

/**
 *
 * @author Administrator
 */
public class Dome1_2 {

    /**
     * @param args the command line arguments
     */
    public static void main(String[] args) {
        // TODO code application logic here
        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");
    }
    
}


你可能感兴趣的:(java语言程序设计(基础篇)第十版编程练习题[1.3])