using namespace std;
This is all i have and i know im totally wrong.. Whats my problem?? I can't think in my head how to do this..
string f= female;
string m= male;
cout <<"Please Enter Your Gender By Using M or F"<< flush;
cin >> gender;
cout << endl;
if ( gender >= M )
cout <<"Your Gender Is:"<<" "<<M<<endl;
cout <<"Are you female?"<<endl;
If the input is 'M' then the output should me "Male". If the gender is "F" then the output should be Female. And invalid gender otherwise.. I kinda gave up!!!!