【简答题】【消耗次数:1】
以下程序输出的结果是[填空1]。#include stdio.hvoid main(){ int x, i;for(i=1; i i++){ x=i;if(++x%2==0)if(++x%3==0)if(++x%7==0)printf(%d\n,x);}printf(“\n”);}
参考答案:
复制
纠错
相关题目
【简答题】 以下程序输出的结果是[填空1]。#include stdio.hvoid main(){ int x, i;for(i=1; i i++){ x=i;if(++x%2==0)if(++x%3==0)if(++x%7==0)printf(%d\n,x);}printf(“\n”);}
【简答题】 以下程序输出的结果是[填空1]。#include stdio.hvoid main(){int x, i;for(i=1; i i++){ x=i;if(++x%2==0)if(++x%3==0)if(++x%7==0)printf(%d\n,x);}printf(“\n”);}
【简答题】 以下程序输出结果是[填空1]。#include stdio.hvoid main(){ int i, sum=0;for(i=1; i i++)sum+=i;printf(″%d\n″,sum);}
【简答题】 以下程序输出结果是[填空1]。#include stdio.hvoid main(){ int i, sum=0;for(i=1; i i++)sum+=i;printf(″%d\n″,sum);}
【简答题】 以下程序输出结果是[填空1]。#include stdio.hvoid main(){ int i, sum=0;for(i=1; i i++)sum+=i;printf(″%d\n″,sum);}
【单选题】 以下程序的输出的结果是()。 int x=3; main( ) int i; for(i=1;i<x;i++)incre( );incre( ) staic int x=1; x*=x+1; printf( %d, x);
①  25
②  26
③  27
④  28
【简答题】 以下程序段输出的结果是[填空1]。#include stdio.hvoid main(){int x=1;do printf(%d\n,x-=2);while(!(--x));}
【单选题】 以下程序的输出结果是_______? f(int b[],int m,int n) { int i,s=0; for(i=m;in;i=i+2) s=s+b[i]; return s; } int main() { int x,a[]={1,2,3,4,5,6,7,8,9}; x=f(a,3,7); printf(%d\n,x); }
①  7
②  8
③  9
④  10
【简答题】 下面程序以每行4个数据的形式输出a数组。#define N 20 #include stdio.hvoid main() { int a[N],i;for(i=0; i i++) scanf(%d,[填空1]);for(i=0; i i++) { if([填空2]) [填空3]; printf(%3d,a[i]);}}
【简答题】 以下程序段输出的结果是[填空1]。#include stdio.hvoid main(){int x=3;do{printf(″%3d″,x-=2);}while(!(--x));}
随机题目
【单选题】 You _____business interfering with my affairs.
①  have none
②  have no
③  have none of the
④  have nothing like
【单选题】 _____is announced in the papers, our country has launched a large scale movement against smuggling and fraudulent activities in foreign currency exchange deals.
①  What
②  As
③  Which
④  That
【单选题】 The board deemed it’s urgent that these invitations _____first thing tomorrow morning.
①  had to be put in the mail
②  must be put in the mail
③  be put in the mail
④  should have been put in the mail
【单选题】 Once _____, this power station will supply all the neighboring towns and villages with electricity.
①  it being completed
②  it completed
③  completed
④  it completes
【单选题】 An emergency _____ is very important in case of fire.
①  exit
②  deposit
③  discharge
④  elaborate
【单选题】 They saw a new movie at the theatre, _____ they had dinner at a Chinese restaurant.
①  then which
②  which after
③  after which
④  after that
【单选题】 Both sides agree to establish a _____ zone between the south and north.
①  midst
②  mild
③  mention
④  neutral
【单选题】 It took a lot of imagination to come up with such an _____plan.
①  bright
②  clever
③  brilliant
④  ingenious
【单选题】 It has been proposed that we _____our decision until the next meeting.
①  delayed
②  delay
③  can delay
④  are to delay
【单选题】 毛泽东提出的繁荣我国科学文化事业的方针是( )
①  团结—批评—团结
②  大鸣大放
③  百花齐放,百家争鸣
④  发展民族的、科学的、大众的文化