摘要:
/** * Created by liwenj on 2017/7/17. */public class test12 { public static void main(String[] args) { int i = 0; int sum = 0; while (i < 100) { sum = 阅读全文
摘要:
/** * Created by liwenj on 2017/7/17. * 问题:某学校现今人数25万,以每年25%的增长速度,多久可到达100万? */ public class test11 { public static void main(String[] args) { //i为计数器,存储循环的次数 int i=0; ... 阅读全文
摘要:
import java.util.Scanner; /** * Created by liwenj on 2017/7/17. */ public class test9 { public static void main(String[] args) { Scanner input=new Scanner(System.in); System.ou... 阅读全文
摘要:
实例1 实例2 阅读全文