I have a problem, I have to draw a isoscele triangle inside a 2D array of any size n rows, m colums, that would fill the array completly, the peak of the triangle must be in the position [0][m/2]
The biggest problem I encountered is how do I calculate the slope of the two sides of the triangle ?