/*
试编一程序,输入一个200以内的整数IQ,
判断是不是天才。
*/
#include<iostream>
using namespace std;
int main( void )
{
int iq;
cout<<"IQ:"; //提示信息
cin>>iq;
if ( iq > 140 )
{
cout<<"天才";
}
return 0;
}
/*
试编一程序,输入一个200以内的整数IQ,
判断是不是天才。
*/
#include<iostream>
using namespace std;
int main( void )
{
int iq;
cout<<"IQ:"; //提示信息
cin>>iq;
if ( iq > 140 )
{
cout<<"天才";
}
return 0;
}