下面程序的运行结果是 。#includeint main(){ int i=5;do{switch(i%2){case 4:i--;break;case 6:i--;continue;}i--;i--;printf(%d ",i);}while(i>0);return 0;}
查看答案
以下程序的运行结果为( )。#include int main( ){int i,t;t=1;i=2;while(i<=5){t=t*i;i=i+1;}printf("%d\n",t);return 0;}
以下程序的运行结果为( )。#include int main( ){int sign=1;double deno=2.0,sum=1.0,term;while (deno<=5){sign=-sign;term=sign/deno;sum=sum+term;deno=deno+1;}printf("%f\n",sum);return 0;}
以下程序的运行结果为( )。#include int main( ){printf ("This is a C program.\n");return 0;}
以下程序的运行结果为( )。#include int main( ){int a,b,sum;a = 123;b = 456;sum = a + b;printf("sum is %d\n",sum);return 0;}