Calculate the slope between two points.
private static double GetSlope(PointF point1, PointF point2)
//slope is delta-y/delta-x
double deltaX = (double)(point2.X - point1.X);
double deltaY = (double)(point2.Y - point1.Y);
return deltaY / deltaX;
this is one of my assignment that I have to do. it is a triangle calculator. everything well with it but it just the calculation. when I run it, ...
Good man James helped me learn die roll board game programming in Java,
and I applied it on Ladders and Snakes. Made one in Java. Now I'm learning to do ...
Hi, I have been given a project to finish in school in 3 phases, the thing is I am not that good when it comes to programing. The project was ...