public class Task { public static void main(String[] args) { int[] arr={3, 1, 2, 3, 6, 2, 3, 6, 2, 3}; int maxheight=arr[0]; int currheight=0; int width=0; for(int i=0;imaxheight) maxheight=currheight; } char[][] result=new char[maxheight + 3][width + 1]; int x=maxheight-1 + 3, y=0; for(int i=0;i