What would the program do if the user asked for a negative number of stars per line?
Each line would consist of nothing but the carriage return character that
System.out.println()
prints.
The inner loop would not execute even once.
For your amusement and entertainment here is a JavaScript version of the program: