views:

36

answers:

0

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);