返回列表 發帖
[code][/code]#include <iostream>
#include <cstdlib>
using namespace std;
int main()
{
    int a,b,c;
    cin>>a>>b>>c;
    int tmp=0;
    if(a>b)
    {
       tmp =a;
    }else
    {
       tmp =b;
    }
    if(tmp>c)
    {
       cout<<tmp<<endl;
    }else
    {        
       cout<<c<<endl;
    }
system ("pause");
    return 0;
}

TOP

返回列表