a decent example of if else w/ begin and end block

bonus material hint for using convert