Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/DuGuQiuBai/Java
/ printNN
Method
printNN
day04/code/06_方法/MethodTest4.java:27–34 ·
view source on GitHub ↗
(int n)
Source
from the content-addressed store, hash-verified
25
int
n
26
*/
27
public
static
void
printNN(
int
n){
28
for
(
int
x=1; x<=n; x++) {
29
for
(
int
y=1; y<=x; y++) {
30
System.out.print(y+
"*"
+x+
"="
+x*y+
"\t"
);
31
}
32
System.out.println();
33
}
34
}
35
}
Callers
1
main
Method · 0.95
Calls
1
print
Method · 0.80
Tested by
no test coverage detected