You're missing a close quote on line 12, as the syntax highlighting clearly shows.
EDIT: also your logic is not quite right. If num2 is less than num1 and num3 is less than num2 (example: 5, 3, 1), then your code will record num2 (3) as the lowest value.
Also, you will only print the output if num3 is determined to be the highest/lowest value. If it turns out to be num1 or num2, you won't print anything.
Last edited on
help me please what's the correct code for it.