hello to you if you are reading this. I have been trying to get this bit of code right for a while now but i think im stuck. I have tried rewriting a few times and I think I am close.
Could someone with experience please give this a quick fix and repost so I can see where im going wrong?
Code:#include <iostream> using namespace std; int main () { char question[] = "your name is: "; char greeting[] = "Welcome, "; char charname[10]; char password[] = atco; cout << question; cin >> charname; cout << greeting << charname << "!"; cout << endl << endl; cout << "what is the password?:"; cin >> password; if password = atco; cout << "enter"; else cout if password = ! cout << "leave"; }