Not able to pass the last condition not sure why please provide me suggestion
package en.codegym.task.pro.task05.task0511;
import java.util.Scanner;
/*
Creating a two-dimensional array
*/
public class Solution {
public static int[][] multiArray;
public static void main(String[] args) {
//write your code here
Scanner s= new Scanner(System.in);
// multiArray [0] = new int[1];
// multiArray [1] = new int [2];
int R= s.nextInt();
int count=0;
if(R>0){
while(s.hasNextInt()){
int col= s.nextInt();
multiArray = new int [R][col];
for(int i=R; i<=R;i++){
for(int j=0; j<col;j++){
System.out.print("[]");
}
System.out.println("");
}
}
}
}
}