1. BEGIN MAINPROGRAM:
INITIALISATION String ID
INITIALISATION String Password
INITIALISATION Int count
INITIALISATION Struct User( ID , Password )
Function Login ( String ID , String Password )
WHILE User ID must be in sixteen digits and Password must be eight characters
IF ID and Password are vail
return true
ELSE
return false
ENDIF
ENDWHILE
WHILE valid User ID is entered with wrong password
IF count <= 3; count ++
Then return login
ELSE
the ID will be Lock
ENDIF
ENDWHILE
END MAINPROGRAM:
BEGIN SUBPROGRAM ID and Password are vail
IF the first time user login THEN user will be select , answears three hint questions
and change the password
ELSE user will be able to the accees the portal facilities and services.
ENDIF
END SUBPROGRAM ID and Password are vail