#include<iostream>
using namespace std;
int main()
{
int a,b,c,x;
cin>>a>>b>>c;
if(a>b) x=a;
else x=b;
if(c>x) x=c;
else x=x;
cout<<x;
return 0;
}
最大的数问题
最新推荐文章于 2024-06-12 18:28:23 发布
#include<iostream>
using namespace std;
int main()
{
int a,b,c,x;
cin>>a>>b>>c;
if(a>b) x=a;
else x=b;
if(c>x) x=c;
else x=x;
cout<<x;
return 0;
}