Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package MidQuestionSolution.TwoZeroOneEight.Fall;
- public class OneC {
- public static void main(String[] args) {
- int[][] arr = {{0}, {1, 2}, {3, 4, 5}, {6, 7, 8, 9}};
- for(int[] x : arr) {
- for(int y : x) {
- System.out.print(y + " ");
- }
- System.out.println();
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement