题解 1002: [编程入门]三个数最大值

来看看其他人写的题解吧!要先自己动手做才会有提高哦! 
返回题目 | 我来写题解

筛选

三个数最大值,1002

摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(void){ int a, b, c,max; scanf("%d %d %d", &a, &b, &c); max ……

关于三个数字比较建议

摘要:解题思路:通过比较a,b得最大值max1,再比较b,c得最大值max2;再比较max1与max2得出最终结果。注意事项:注意格式最好是能连续输出和输入,这样程序的使用价值更高。参考代码:#includ……

[编程入门]三个数最大值

摘要:解题思路:注意事项:参考代码:#include <stdio.h>#include <string.h>int main(){    int a[3],i,max;    for(i=0;i<3;i+……