返回列表 發帖
#include<iostream>
#include<cstdlib>
using namespace std;
int main()
{
    re:
    int a, b, c;
    cout<<"Please enter three numbers: ";
    cin>>a>>b>>c;
    if (a>b && a>c )
        {
            cout<<a<<"is the biggest"<<endl;
        }
    else if (b>a && b>c )
        {
            cout<<b<<"is the biggest"<<endl;
        }
    else if (c>a && c>b )
        {
            cout<<c<<"is the biggest"<<endl;
        }
  
    goto re;
    system("pause");
    return 0;
}

TOP

返回列表