I need to write a program that asks a user for their new password, to check that they have entered it correctly they must verify it by entering it again. If the two passwords matach then you accept the change and tell the user that they have been successful on the first attempt and you print out the new password.
If they make a mistake entering the second password, the program tells them their password has not been changed and the program starts again. When they finally get it correct, the program tells them they have been successful and how many attepts it took them.
Please help me again.