The program executes the first "cin", but then by passes the next one. When i change the data type to a float
it works well but i want 'char' data type not float.
please HELP
#include <iostream>
using namespace std;
int main()
{
char momname, dadname;
cout<<"Enter your mom's name:";
cin>>momname;
cout<<"\nEnter your dad's name:";
cin>>dadname;
return 0;
}
