Hi there.
I am kind of stuck here. When I run my program, it works fine and I do not see any difference compared to the example output. I have tried several cases and several numbers and it works fine.
However, when I try to verify the task, the third condition fails. I do not know why.
I would be glad if anyone could help
Best regards
package com.codegym.task.task04.task0436;
/*
Drawing a rectangle
*/
import java.io.*;
public class Solution {
public static void main(String[] args) throws Exception {
BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
String s1 = reader.readLine();
int m = Integer.parseInt(s1);
String s2 = reader.readLine();
int n = Integer.parseInt(s2);
for (int i = 0; i <m ; i++) {
System.out.println();
for (int j = 0; j <n; j++) {
System.out.print("8");
}
}
}
}