题目内容

读程序,写出运行结果。#include main(){ int a=12, b= 98, c=25, min=0;min=a;if(min>b)min=b;if(min>c)min=c;printf("min=%d", min);}运行结果为:___________

查看答案
更多问题

读程序,写出运行结果。阅读下面的程序#include void main(){int i,j,m,n;i=5;j=6;m=++i;n=j++;printf("%d,%d,%d,%d",i,j,m,n);}运行结果为:_________________

读程序,写出运行结果。#include int fac(int n){ int f=1,i;for(i=1;i<=n;i++)f=f * i;return(f);}main(){int j,s;scanf("%d",&j);s=fac(j);printf("%d!=%d\n",j,s);}如果从键盘输入2, 运行结果为_____________________

读程序,写出运行结果。#includemain( ){ints=0,a=5,n;scanf("%d",&n);do{s+=1;a=a-2;}while(a!=n);printf("%d,%d\n",s,a);}若输入的值1,运行结果为: _________________

读程序,写出运行结果。#include main( ){ int sum=20,n=1;while(n<3) {sum=sum-n; n++; }printf(“%d,%d”,n,sum);}运行结果为:_________________

答案查题题库