hi
thankyou very much to the person who replied me. you have asked for the combination the combinations are:
name: sara name:miky name:ducky
code:1345X code:2238Y code:7569Z
IF THE USER ENTERS WRONG NAME THE SYSTEM ASKS TO RE-ENTER. THE SYSTEM ONLY ALLOWS THREE CONSECTIVE ATTEMPTS.AFTER CORRECT NAME ENTERED THE SYSTEM ASKS FOR ALPHANUMERIC CODE WHICH AGAIN SYSTEM ALLOWS ONLY THREE CONSECTIVE ATTEMPTS. IF THE NAME AND CODE CORRECTLY ENTERED THE SYSTEM DISPLAYS 'THE DOOR IS NOE OPEN' IF THIS IS NOT THE CASE AND ALL THREE ATTEMPTS FAIL THE SYSTEM DIAPLAYS 'PLEASE SEEK ASSISSTANCE'
I UNDERSTAND THAT WE HAVE TO USE DOWHILE LOOP BUT PLEASE EXPLAIN ABIT MORE HOW SHOULD I DO IT. AND ALSO THE NAME MUST BE ENTERED IN LOWER CASE FOLLOWED BY A SAPCE. WHAT SHOULD I DO HERE?
AND ALSO IF ANYONE CAN HELP ME IN WRITING THE PSEUDOCODE FOR A DIDGITAL LOCK WITH THE GIVEN COMBINATIONS.
THANKYOU