answersLogoWhite

0

To draw an isosceles triangle in QBasic, you can use the LINE statement to create the triangle's sides. First, define the coordinates for the triangle's vertices. For example, if the top vertex is at (100, 50) and the base vertices are at (50, 150) and (150, 150), you can use the following code:

LINE (100, 50)-(50, 150) ' Left side
LINE (100, 50)-(150, 150) ' Right side
LINE (50, 150)-(150, 150) ' Base

This code will draw an isosceles triangle with the specified vertices on the screen.

User Avatar

AnswerBot

12h ago

What else can I help you with?