I am trying to subtract one variable from another, and use that output. but when I subtract them, the outcome is just the second variable negative!
int distance = pointX-pointXTwo;
NSLog(@"%d", distance);
I am trying to subtract one variable from another, and use that output. but when I subtract them, the outcome is just the second variable negative!
int distance = pointX-pointXTwo;
NSLog(@"%d", distance);