clude<iostream>
#include<windows.h>
#include<string.h>
#include<stdio.h>
usingnamespace std;
int main()
{
char A[20];
cout<<"Enter your password \n";
gets(A);
{{if(strcmp(A,"Thanosbuster")==0)
cout<<"Welcome Mr Stark";
cout<<"How are you Mr Stark?";
char B; cin >> B; char fine; cin>> fine;
if (B==fine)
cout<<"I am glad you are in good emotional state.";
else
cout<<"Sorry to hear that sir";}
else
cout<<"Intruder alert";}
}
If you can figure it out yourself, that's the best route. It's always best to find the answer yourself rather then be spoon fed them. Also, people here have lives, they can't be on the forum all hours of the day.
I answered an hour and a half before you posted that.
nobody even cares to answer for two hours
You may misunderstand this site. Everyone here is a volunteer. We answer questions when we have some time and desire. There's no coordinated schedule, so hours can go by when nobody is logged in trying to answer questions. Basically, there's no guarantee when, or even if, your question will get answered.
So I think the words you're looking for are "Thank you." :)