摘要:
输出满足1+2+3+…+n<8888的最大整数 编写应用程序,输出满足1+2+3+…+n<8888的最大整数 输出格式:满足条件的最大整数:xxxxx public class Demo09 { public static void main(String[] args) { // your cod 阅读全文
摘要:
计算8+88+888+…前10项之和 编写应用程序,使用for循环语句计算8+88+888+…前10项之和。 public class Demo09 { public static void main(String[] args) { // your code long x=0,sum=0; for 阅读全文