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.
An isoceles triangle has TWO sides of equal length but an equilateral triangle has THREE sides of equal length
An isoceles triangle
isoceles Triangle, Scalene triangle, Equilateral Triangle and Right Triangle.
line (320,240)-(340,240),15 line (310,230)-(320,240),15 line (310,230)-(340,240),15
isoceles triangle
An isoceles triangle has 2 sides of equal length
yes
An isoceles triangle has TWO sides of equal length but an equilateral triangle has THREE sides of equal length
It can be but need not always be.
An isoceles triangle
isoceles triangle
..two sides are of equal length.
That is an isoceles triangle.
isoceles Triangle, Scalene triangle, Equilateral Triangle and Right Triangle.
line (320,240)-(340,240),15 line (310,230)-(320,240),15 line (310,230)-(340,240),15
An isoceles triangle does not have rotation symmetry
isoceles triangle