The Student Room Group

pseudo code

Write an algorithm in pseudo-code which asks the user to enter a password. If the user enters “NotAtHome!”, then print “Welcome” and set a variable called correctPassword to True.
If they enter a different password, display “Wrong password” and
set correctPassword to False.
What is it specifically with this that you're having a problem with?
(edited 1 month ago)

Quick Reply

Latest

Trending

Trending