Your score: 0 pts
Check the following pseudo-code to work out the passcode needed to complete this level:
Check the following pseudo-code to work out the passcode needed to complete this level:
BEGIN digit1 = (2 + (6/3)) * 2 digit2 = 3^2 digit3 = 10 DIV 3 digit4 = 10 MOD 3 passcode = "" passcode = passcode + digit1 + digit2 passcode = passcode + digit3 + digit4 OUTPUT passcode END
Hint: DIV means "quotient",
e.g. 7 DIV 3 = 2 (as 7 = 2 x 3 + 1)
e.g. 10 DIV 2 = 5 (as 10 = 5 x 2 + 0)
MOD means "remainder",
e.g. 7 MOD 3 = 1 (as 7 = 2 x 3 + 1)
e.g. 10 MOD 2 = 0 (as 10 = 5 x 2 + 0)
^ means "to the power of",
e.g. 5^2 = 52 = 25
e.g. 7 DIV 3 = 2 (as 7 = 2 x 3 + 1)
e.g. 10 DIV 2 = 5 (as 10 = 5 x 2 + 0)
MOD means "remainder",
e.g. 7 MOD 3 = 1 (as 7 = 2 x 3 + 1)
e.g. 10 MOD 2 = 0 (as 10 = 5 x 2 + 0)
^ means "to the power of",
e.g. 5^2 = 52 = 25