We discussed the nature of computer programming and the conditional statement if then else in Maple. The notes are here: pdf and Maple. Hugo Touchette's notes from last year are good. But he covered loops before conditional statements so only sections 8.1 and 8.2 relate to what we cover this week: pdf and Maple.
More on the conditional statement, including the operator version. Notes are here: pdf and Maple.