KaiquanMah commited on
Commit
e11bd8c
·
verified ·
1 Parent(s): 777b321

Update Week 2: Methods, strings and lists/3B. Print several

Browse files
Week 2: Methods, strings and lists/3B. Print several CHANGED
@@ -48,6 +48,7 @@ public class Test{
48
  for (int i=1; i<=amount; i++) {
49
  System.out.print(str);
50
  }
 
51
  }
52
 
53
 
 
48
  for (int i=1; i<=amount; i++) {
49
  System.out.print(str);
50
  }
51
+ System.out.println(); // Add newline after printing the repeated string
52
  }
53
 
54