以下程序运行结果是( )Void main(){ int x=2 , y= -1 , z=2 ;if(x
A. 3
B. 2
C. 1
D. 0
C语言中while和do-while循环的主要区别是( ).
A. do-while的循环体至少无条件执行一次
B. while的循环控制条件比的循环控制条件严格
C. do-while允许从外部转到循环体内
D. do-while的循环体不能是复合语句
以下能正确计算1*2*3*……*10的程序是( )
A. do{i=1;s=1;s=s*i;i++;}while(i<=10);
B. do{i=1;s=0;s=s*i;i++;}while(i<=10);
C. i=1;s=1;do{s=s*i;i++;}while(i<=10);
D. i=1;s=0;do{s=s*i; i++; }while(i<=10);
Fill in the blanks with the following words.packsuitcaseflightsecurityterminalkeepsakex-ray screeningairport mall1. Will you keep your eye on my _________ while I go to get the tickets for us?2. We are leaving early tomorrow morning for the three-day hiking, so you’d better _________ tonight.3. I’ve bought several __________ for my family and friends while traveling in Guilin.4. All __________ to New York today are delayed due to the bad weather.5. There are two _______________ in this airport, one is for domestic flights and the other is for international ones.6. Your luggage will be put on the conveyer belt and checked through _________________.7. Many travelers prefer to buy keepsakes in the ______________, especially makes-ups.8. He showed his passport to the customs officer and then went through _______________, where officials checked that he was not carrying any weapons.