könnt ihr mir dabei helfen ich darf keine math.abs oder so benutzen
* Draws a horizontal line from (xStart, y) to (xEnd, y) (both end points included), using the character c.
* If xEnd is less than xStart, then this function does nothing.
* If the line starts or ends outside the plottingArea, then this function only plots the part laying inside the canvas.
*
* @param xStart x coordinate of start point of line.
* @param xEnd x coordinate of end point of line
* @param y y coordinate of line
* @param c character to draw the line with
*/
public static void plotHorizontalLine(int xStart, int xEnd, int y, char c)