i don't know why char don't wanna go throw?

Programming
Tutor: None Selected Time limit: 1 Day

#include <iostream>

#include <string>

using namespace std;

int main()

{

    

    int age;

    char ='M';

    char='N';

 

    

    cout<<" How old are you?\n";

    cin>>age;

    cout<<"are you member in this club?\n";

    cin>>char;

    

Dec 11th, 2014

dont use char, its a keyword in c++... use any other word which is not a key word.... example: ch...


Dec 11th, 2014

Did you know? You can earn $20 for every friend you invite to Studypool!
Click here to
Refer a Friend
...
Dec 11th, 2014
...
Dec 11th, 2014
Mar 25th, 2017
check_circle
Mark as Final Answer
check_circle
Unmark as Final Answer
check_circle
Final Answer

Secure Information

Content will be erased after question is completed.

check_circle
Final Answer