I have done the task using abs value but i would like someone to give me a hint with regards to the use of logical condition in solving this task. I tried using the AND and OR logical operator but i kept getting it wrong.