import java.awt.*; import hsa.Console; public class DrawingTriangle { static Console c; public static void main (String[] args) { int sideA, sideB; c = new Console (); c.println ("Please enter the first side length of the triangle."); sideA = c.readInt (); c.println ("Please enter the second side length of the triangle."); sideB = c.readInt (); c.drawLine (250, 250, (250 - sideA), 250); c.drawLine (250, 250, 250, (250 - sideB)); c.drawLine ((250 - sideA), 250, 250, (250 - sideB)); } }