-
-
Save ssd863419/b3f898d5beda80dc0fa9 to your computer and use it in GitHub Desktop.
99乘法表
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class Test { | |
public static void main(String[] args) { | |
for (int i = 1; i < 10; i++) { | |
for (int j = 1; j < 10; j++) { | |
if (i*j <10 ) { | |
System.out.print(i + "*" + j + "= " + i*j + " | "); | |
}else{ | |
System.out.print(i + "*" + j + "=" + i*j + " | "); | |
} | |
} | |
System.out.println(); | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment