We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b20c866 commit 14fb49bCopy full SHA for 14fb49b
1 file changed
Pattern_Printing/Letter_I.java
@@ -53,7 +53,7 @@ public static void main(String[] args) {
53
54
System.out.println("Please specify the height of the alphabet and keep that integer odd.");
55
56
-
+ //taking user input
57
int patternHeight = sc.nextInt();
58
59
if(height % 2 == 0) {
@@ -62,6 +62,7 @@ public static void main(String[] args) {
62
printI(patternHeight);
63
}
64
65
+ //closed scanner
66
sc.close();
67
68
0 commit comments