11-21-2009, 05:47 AM
Code:
#include <iostream>
using namespace std;
int main()
{
cout << "IQ Test::The Real Deal:: ";
int a,b;
cout << "Enter number lower than 5: \n";
cin >> a;
cout << "Enter number bigger than 5: \n";
cin >> b;
if(a < b) cout << "IQ result: Higher than 50,Good job. \n";
if(a > b) cout << "IQ Result: lower than 30,You fail. \n";
if(a==b) cout << "IQ Result: 40,what a shame. \n";
return 0;
}