Skip to content

Commit

Permalink
afficher des ‘x’ à la place des ‘*’
Browse files Browse the repository at this point in the history
  • Loading branch information
AllanLegrand authored Nov 20, 2024
1 parent eb93ba6 commit e0ec556
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Q5.java
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ public static void main(String[] args) {

for(int i = 0; i < n; i++) {
for(int j = 0; j <= i; j++) {
System.out.print("*");
System.out.print("x");
}
System.out.println();
}
Expand Down

0 comments on commit e0ec556

Please sign in to comment.