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

Are you studying on the go? Check out our FREE app and post questions on the fly!
Download on the
App Store
...
Dec 11th, 2014
...
Dec 11th, 2014
Dec 9th, 2016
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