first commit

This commit is contained in:
2024-09-02 21:30:59 +08:00
commit 02735c657d
8 changed files with 106 additions and 0 deletions

11
src/Example08.java Normal file
View File

@@ -0,0 +1,11 @@
public class Example08 {
public static void main(String[] args) {
int num = 20;
if (num % 2 == 0) {
System.out.println("num是一个偶数");
} else {
System.out.println("num是一个奇数");
}
}
}