解题
2025-01-17 14:58:15
发布于:广东
29阅读
0回复
0点赞
#include<iostream>
using namespace std;
int max(int a,int b,int c){
if(a>b&&a>c){
cout <<a;
}else if(b>a&&b>c){
cout <<b;
}else{
cout <<c;
}
return 0;
}
int main(){
int a,b,c;
cin>>a>>b>>c;
max(a,b,c);
return 0;
}
欢迎加入团队:进步的蜗牛
欢迎在我的题单做题
这里空空如也
有帮助,赞一个