
public class InitialValueRagged {

	public static void main(String[] args) {
		int a[][] = { {2, 3, 5}, {7}, {8, 9, 10, 23, 55}};
		
		//Output formatting:
		//  - Output elements of each row on same line
		//  - Consecutive rows should be on consecutive lines
		
		for (int i = 0; i < a.length; i++){
			
			// Print row i; note "print" rather than "println"
			for (int j = 0; j < a[i].length; j++)
				System.out.print (a[i][j] + " ");
			
			// Now print carriage return at end of row
			System.out.println();
		}
	}

}
