简答题:本题的功能是计算l~10之间除了5以外的各个自然数的和。 public class javal{public stati

  • 题目分类:Java
  • 题目类型:简答题
  • 查看权限:VIP
题目内容:
本题的功能是计算l~10之间除了5以外的各个自然数的和。
public class javal{
public static void main(String[]args){
int i=1 ;
int sum=0;
while(i<=10){
if(i= =5){


}

i++;
}
System.out.println("sum="+sum);
}
}
参考答案:
答案解析:

How does the woman feel about her new job?

How does the woman feel about her new job?A.Interesting. B.Boring. C.Inspiring.

查看答案

What does the man imply?

What does the man imply?A.He Can't go now. B.He wants to call someone. C.He Can'

查看答案

Hurry up.Don’t keep XiaoWang__________.

Hurry up.Don’t keep XiaoWang__________. A.wait B.waited C.waiting

查看答案

Mary__________that piece of cake for twenty yuan.

Mary__________that piece of cake for twenty yuan. A.spent B.cost C.bought

查看答案

回答题:Public Speaking Training  ·Get a coach   51 ,so get

回答题:Public Speaking Training·Get a coach51 ,so get help. Since there are about

查看答案