Proficient programming requires knowledge of many techniques. These techniques allow for powerful, complex programs to be created.
Part of Computer ScienceComputational thinking and problem solving
Save to My Bitesize
Boolean operatorscloseBoolean operatorAND, OR and NOT. Used to build complex queries in a database. are used to combine relational operators to give more complex decisions.
The code below uses two conditions to check if the password entered is both the correct length of six or more characters and is not a number:
password 鈫 USERINPUT IF LEN(password) >= 6 AND IS_NUMERIC(password) = False THEN OUTPUT 鈥淕ood Password!鈥 ELSE OUTPUT 鈥淧assword too short鈥 ENDIF