题目内容

下面的循环语句不管在什么条件下至少执行一次循环体的语句是____________。

A. for循环
B. foreach循环
C. while循环
D. do 循环

查看答案
更多问题

如果希望实现从1到10的累加,并得出结果。int count = 0;___________{count += i;}应该在空白处添加下面哪段代码?

A. for (int i = 0; i < 10; i++)
B. for (int i = 0; i <= 9; i++)
C. for (int i = 1; i <= 10; i++)
D. for (int i = 1; i < 10; i++)

下面程序的功能是:输出100以内能被3整除且个位数为6的所有整数,请填空。using System;public class sample11{public static void Main() {int i,j;for (i=0; ____;i++){j=i*10+6;if(____)continue;Console.WriteLine("{0}",j);}}}

Directions:Fillintheblankswiththewordsgivenbelow.orderdrinktake your ordermindcheckA waiter will come soon to __________

Directions:Fillintheblankswiththewordsgivenbelow.orderdrinktake your ordermindcheckWould you like something to ________?

答案查题题库