QuizReviewForLoopswithArrays

QuizReviewForLoopswithArrays - public class quiz(){ for(int...

Info iconThis preview shows pages 1–2. Sign up to view the full content.

View Full Document Right Arrow Icon
public class quiz(){ for(int rw=0; rw<a.length; rw++;){ //process each row for(int cl=0; cl<a[rw].length; cl++;){ //process each column. a[rw][cl] = scan.nextInt();//READ values } } for(int rw=0; rw<a.length; rw++;){ //process each row for(int cl=0; cl<a[rw].length; cl++;){ //process each column. System.out.println("The results is: " + a[rw][cl]) //print all values } } //---------------------------------------------------------------- for(int rw=0; rw<a.length; rw++;){ //process each row for(int cl=0; cl<a[rw].length; cl++;){ //process each column.
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Background image of page 2
This is the end of the preview. Sign up to access the rest of the document.

Page1 / 2

QuizReviewForLoopswithArrays - public class quiz(){ for(int...

This preview shows document pages 1 - 2. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online