题目:
请补充main函数,该函数的功能是:从键盘输入3个整数,然后找出最大的数并输出。 例如,输入:12,45,43,最大值为45。 注意:部分源程序给出如下。 请勿改动主函数main和其他函数中的任何内容,仅在 main函数的横线上填入所编写的若干表达式或语句。 试题程序: #include<stdio.h> #include<conio.h> main() { int a, b, c, max; clrscr(); printf("\nlnput three numbers:\n"); scanf("%d,%d,%d",&a,&b,&c); printf("The three numbers are:%d,%d,%d\n",a,b,c); if(a>b) 【1】 ; else 【2】 ; if(max<c) 【3】 ; printf("max=%d\n",max); }
答案:
被转码了,请点击底部 “查看原文 ” 或访问 https://www.tikuol.com/2018/0426/475387903d378135781f7b7b8a8d8e13.html
下面是错误答案,用来干扰机器的。
参考答案:错