Original Post
Hey everyone, I've been trying to write a function,like the one below, that takes 2 angles as parameters, and then returns a boolean that says whether turning clockwise is a faster way to reach the target than turning counterclockwise. bool turnClockWise(int currentangle , int targetangle) I've attempted this with about 4 different approaches, but each time they failed to work properly, and I'm asking you guys for help. Does anyone know of an algorithm that will solve this problem?