Question: write a program in c++ that allows the user to enter a password and then display a message Welcome' if the password is true,
write a program in c++ that allows the user to enter a password and then display a message "Welcome' if the password is true, otherwise, display a message "Invalid Password". Give user only three times of password entry attempts. note: use strcmp function for comparing the strings
Step by Step Solution
3.40 Rating (159 Votes )
There are 3 Steps involved in it
Certainly I can help you write a simple C program that will prompt the user to enter a password up to three times and will utilize the strcmp function ... View full answer
Get step-by-step solutions from verified subject matter experts
