I am trying to write a program where I want to write a condition that would check if (num is greater than 5 away from distance)
and the second condition if (num is less than or greater to distance)
I am not sure how to include both of them in one for example this is what I currently have
while (num>5 && distance>5??)
if (num<=5 && distance<=5??)
I am not quite sure for the distance or if this is the correct way to write the condition.