Skip to content

Commit 14fb49b

Browse files
committed
added comments in main method
1 parent b20c866 commit 14fb49b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Pattern_Printing/Letter_I.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ public static void main(String[] args) {
5353

5454
System.out.println("Please specify the height of the alphabet and keep that integer odd.");
5555

56-
56+
//taking user input
5757
int patternHeight = sc.nextInt();
5858

5959
if(height % 2 == 0) {
@@ -62,6 +62,7 @@ public static void main(String[] args) {
6262
printI(patternHeight);
6363
}
6464

65+
//closed scanner
6566
sc.close();
6667
}
6768
}

0 commit comments

Comments
 (0)