如果希望实现从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 ________?
Directions:Fillintheblankswiththewordsgivenbelow.orderdrinktake your ordermindcheckJust a moment, please. I'll _________ the availability for you.