*都会做
2025-07-12 13:12:14
发布于:广东
1阅读
0回复
0点赞
#include<bits/stdc++.h>
using namespace std;
void three_greatest(int a,int b,int c){
if(a>b){
cout<<a;
}else if(b>c && b>a){
cout<<b;
}else{
cout<<c;
}
}
int main() {
int a,b,c;
cin>>a>>b>>c;
three_greatest(a,b,c);
return 0;
}
这里空空如也
有帮助,赞一个