Why does my code output vertically instead of horizontally? I'm new to programming and I just need to to output the basic
I've look around for this problem. I copied my teachers code just to see if its my code but still doesn't work. I am using IntelliJ IDEA CE
public static void main(String[] args) {
for (int i = 1; i < 10; i++) {
for (int j = 0; j < 5; j++) {
System.out.println("*");
}
System.out.println("");
}
}