Skip to content

Commit

Permalink
5 star pattern done
Browse files Browse the repository at this point in the history
  • Loading branch information
yashksaini-coder committed Oct 25, 2024
1 parent 2be2eeb commit dab70a5
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions Patterns/yash_pattern.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
import java.util.*;

public class yash_pattern {
public static void main(String[] args) {
int n = 5;
for (int i = 1; i <= n; i++) {
for (int j = 1; j <= n; j++) {
System.out.print("* ");
}
System.out.println();
}
}
}

0 comments on commit dab70a5

Please sign in to comment.