Hello, Im trying to do some very basic algebra in c++, im not using any maths libraries. I have my midpoint calculator working ok but when trying to calculate the rise and run of 2 points on a grid Im getting wrong results especially where answers are negitive. Im not looking for code im just needing some advice on how I go about it in programming.