摘要:
package com.company; //计算8+88+888+8888+....前20项的和 //分析:规律 88=8*10+8 public class Main { public static void main(String arg[]) { long sum=0,a=8,item=a, 阅读全文
摘要:
package com.company; import java.util.Scanner; public class Main { public static void main(String arg[]) { System.out.println("请输入一门成绩:"); Scanner inp 阅读全文