MCPcopy Create free account
hub / github.com/PrajaktaSathe/Java / patter2

Method patter2

Programs/patterns/Pattern2.java:12–20  ·  view source on GitHub ↗
(int n)

Source from the content-addressed store, hash-verified

10// * * * *
11// * * * *
12 private static void patter2(int n) {
13 // for every row, run the col
14 for (int row = 0; row <= n; row++) {
15 for (int col = 0; col < n; col++) {
16 System.out.print("* ");
17 }
18 System.out.println();
19 }
20 }
21}

Callers 1

mainMethod · 0.95

Calls 1

printMethod · 0.80

Tested by

no test coverage detected