返回列表 發帖
#include<iostream>
#include<cstdlib>
using namespace std;
int main()
{
int a, b;


cout<<"請輸入a:";
cin>>b;
cout<<"請輸入b:";
cin>>b;

cout<<"a=a"<<a<<endl;


if(a>b)
{
       cout<<"a大於b"<<endl;
}
else if(a<b)
{
       cout<<"a小於b"<<endl;
}
else
{
       cout<<"a等於b"<<endl;
}               


  system("pause");
return 0;
cout<<"hello"<<endl;
}

TOP

返回列表