Write a program to draw an equilateral triangle in qbasic
Answers
Answered by
62
Screen 7
Color 5, 15
Cls
Line (120, 40)-(140, 40)
Line (110, 30)-(120, 40)
Line (110, 30)-(140, 40)
End
Answered by
8
a program to draw an equilateral triangle in qbasic
- REM TO DRAW TWO CONCENTRIC CIRCLES
- WITH EQUAL DISTANCE BETWEEN THEM
- SCREEN 7
- COLOR 3, 14
- CLS
- PRINT "THIS IS A CIRCLE"
- CIRCLE (160, 100), 75, 4
- CIRCLE (160, 100), 50, 5
- CIRCLE (160, 100), 25, 1 END.
Similar questions