sir in first input sir has taken cin.get() but we have to compare strings so why it is not cin.get(a) for storing first input of strings . how could it compare it it is not mentioned to take in a . as we have done with cin.getline(a,1000)
and i am not able to send you the screenshot of code explained by sir. so please tell me how to do it.