3. Write a program in java for 2D-array using for loop that iterates from 0<3 for loop iterates from j-0 to j<3 and prin

Business, Finance, Economics, Accounting, Operations Management, Computer Science, Electrical Engineering, Mechanical Engineering, Civil Engineering, Chemical Engineering, Algebra, Precalculus, Statistics and Probabilty, Advanced Math, Physics, Chemistry, Biology, Nursing, Psychology, Certifications, Tests, Prep, and more.
Post Reply
answerhappygod
Site Admin
Posts: 899603
Joined: Mon Aug 02, 2021 8:13 am

3. Write a program in java for 2D-array using for loop that iterates from 0<3 for loop iterates from j-0 to j<3 and prin

Post by answerhappygod »

3 Write A Program In Java For 2d Array Using For Loop That Iterates From 0 3 For Loop Iterates From J 0 To J 3 And Prin 1
3 Write A Program In Java For 2d Array Using For Loop That Iterates From 0 3 For Loop Iterates From J 0 To J 3 And Prin 1 (32.84 KiB) Viewed 44 times
3. Write a program in java for 2D-array using for loop that iterates from 0<3 for loop iterates from j-0 to j<3 and print the element which is at the index a[j] Output: 1 class TwodimensionalLoop 2 ( 8 9 10 12 13 14 15} Output: public static void main(String args[]) { 6 50 7 60 int[][] a-{{10,20), (30,40},{50,60});//declaration and initialization System.out.println("Two dimensional array elements are"); ) for ( { } } { for ( } System.out.println(a[j]); Two dimensional array elements are 10 20 30 5:40
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!
Post Reply