Prompted to enter a user id and password if id and password is correct then the user will view the first entry is required, otherwise the process is repeated from the beginning to user id and password are correct.
Code:
id,password : string
begin
repeat
input id
input password
until
id = 'username' and password = '123'
print('You have entered the main page')
end.
No comments:
Post a Comment