求一c语言编程题,a.b.c分别代表百位,十位,个位.共1000个数字,位置不...答:include<stdio.h> void main(){ int input[2];int flag;int i;printf("input two number separated by ','\n");scanf("%d,%d",&input[0],&input[1]);flag=input[0]*10+input[1];for(i=100;i<1000;i++){ int a,b,c;a=i/100;b=i%100/10;c=i%10;if((flag!=a*10+b)...
大侠们帮忙做几个C语言编程题吧~~~考试要用的(请尽快,在线等)答:int a,b,c,d,max,temp;max=0;temp=0;printf("please input the value of a,b,c,d:\n");scanf("%d%d%d",&a,&b,&c,&d);/*以下六行可被这一行代替: max=(a>b?a:b)>(c>d?c:d)?(a>b?a:b):(c>d?:d);*/ if(a>=b)max=a;else max=b;if(c>=d)temp=c;else...