public static void main(String[] args) throws Exception
    {
        int j = 1;
        while (j <= 10) {
            int i = 1;
            while (i <= 10)
            {
                System.out.print("A");
                i++;
            }
            System.out.println();
            j++;
        }


    }