//使用条件表达式作为简单的“如果…那么…”判断。
include
using namespace std;
int main()
{
int score=2;
string tongguo;
string bujige;
cout << “Please input your score :” << endl;
cin >> score;
cout << ((score >= 60) ? “tongguo” :” bujige”) << endl;
return 0;
}