摘要:
package struct; public class Demo06 { public static void main(String[] args) { for (int i = 1; i <= 1000; i++) { if (i % 5 == 0) { System.out.print(i 阅读全文
摘要:
package struct; public class Demo05 { public static void main(String[] args) { int oddSum = 0; int evenSum = 0; for (int i = 0; i <= 100; i++) { if (i 阅读全文
摘要:
package struct; public class Demo04 { public static void main(String[] args) { text(); text2(); text3(); } public static void text() { int i = 0; int 阅读全文
摘要:
package struct; public class Demo03 { public static void main(String[] args) { text(); System.out.println(" "); text2(); } public static void text() { 阅读全文
摘要:
package struct; import java.util.Scanner; public class Demo02 { public static void main(String[] args) { Scanner scanner = new Scanner(System.in); Sys 阅读全文
摘要:
package struct; import java.util.Scanner; public class Demo01 { final static Scanner scanner = new Scanner(System.in); public static void main(String[ 阅读全文
摘要:
package scanner; import java.util.Scanner; public class Demo03{ public static void main(String[] args) { Scanner scanner = new Scanner(System.in); Sys 阅读全文
摘要:
package scanner; import java.util.Scanner; public class Demo02 { final static Scanner scanner = new Scanner(System.in); public static void main(String 阅读全文
摘要:
package scanner; import java.util.Scanner; public class Demo01 { public static void main(String[] args) { scanner(); scanner2(); scanner3(); } public 阅读全文