标签:全国计算机等级考试试题,计算机等级考试真题下载, 2017年计算机二级考试C语言填空题练习题四,
求最值
1. 请补全main函数,该函数的功能是:从键盘上输入3个整数,然后找出最大的数并输出。
main()
{int a,b,c,max;
clrscr();
printf(“\nInput three numbers:\n”);
scanf(“%d,%d,%d”,&a,&b,&c);
printf(“Thethree numbers are:%d,%d,%d\n”,a,b,c);
if (a》b)
___1___;
else
___2___;
if(max