摘要:
1. 分别使用for循环,while循环,do循环求1到100之间所有能被3整除的整数的和。(知识点:循环语句) for循环: public class fourth { public static void main(String[] args) { int sum=0; for(int i=1; 阅读全文
摘要:
mport java.util.Scanner; public class das { public static void main(String[] args) { Scanner in = new Scanner(System.in); int C; int F =50; C = ( 阅读全文
摘要:
package klj; public class kjll { public static void main(String[] args) { int a=10; int b=14; int temp = a; a = b; b = temp; System.out.println("a="+a 阅读全文