摘要: 1、已知a,b均是整型变量,写出将a,b两个变量中 的值互换的程序。(知识点:变量和运算符综合 应用) package workl; public class workz { public static void main(String[] args) { int a=10; int b=20; i 阅读全文
posted @ 2020-03-19 11:52 rookrisk 阅读(115) 评论(0) 推荐(0) 编辑
摘要: package workl; public class workz { public static void main(String[] args) { char c='H'; System.out.println((char)(c+32)); } } 阅读全文
posted @ 2020-03-19 11:33 rookrisk 阅读(61) 评论(0) 推荐(0) 编辑
摘要: import java.util.Scanner; public class das { public static void main(String[] args) { Scanner in = new Scanner(System.in); int C; int F =50; C = (F - 阅读全文
posted @ 2020-03-19 11:27 rookrisk 阅读(47) 评论(0) 推荐(0) 编辑
摘要: package finish; public class work { public static void main(String[] args) { int a=100; int b; int c; int d; b=(a/100%10); c=(a/10%10); d=(a/10); Syst 阅读全文
posted @ 2020-03-19 11:18 rookrisk 阅读(45) 评论(0) 推荐(0) 编辑
摘要: package workl; public class workz { public static void main(String[] args) { int a=10; int b=20; int c; c=a; a=b; b=c; System.out.println(a); System.o 阅读全文
posted @ 2020-03-19 11:10 rookrisk 阅读(95) 评论(0) 推荐(0) 编辑
摘要: package finish; public class work { public static void main(String[] args) { System.out.println("hello"); System.out.println("kitty"); } } 阅读全文
posted @ 2020-03-10 07:35 rookrisk 阅读(75) 评论(0) 推荐(0) 编辑