Computer Science, asked by rakesh449, 1 month ago

write two program on iteration using Java language​

Answers

Answered by abhijeet0516
1

Answer:

java nested for loop

Explanation:

public class NestedForExample {

public static void main(String[] args)

//loop of i.

for(int i=1;i<=3;i++){

//loop of j.

for(int j=1;j<=3;j++){

System. out. println(i+" "+j);

}//end of i.

Similar questions