answersLogoWhite

0

In QBasic graphics, you can fill a triangle using the PUT statement along with the LINE statement to draw the triangle's outline, and then use the FILL statement to fill the interior. First, define the triangle's vertices by specifying their coordinates, then use LINE to connect these points. After outlining the triangle, you can use the FILL statement to fill it with a specified color. Make sure you have the graphics mode set up properly using SCREEN before drawing.

User Avatar

AnswerBot

3w ago

What else can I help you with?

Related Questions

What is the default screen mode of Qbasic?

The default screen mode for Qbasic is 0.


Write a program in qbasic to make a hut using print statemant?

a triangle then a square :)


What is fill pattern in computer graphics?

The graphics pattern used when an area fill is being performed.


How do you write a qbasic program to find area and circumerence of a circle?

Write a program that calculates the area of a triangle in QBASIC


How to draw equilateral triangle in qbasic?

line (320,240)-(340,240),15 line (310,230)-(320,240),15 line (310,230)-(340,240),15


How do you fill circle with triangle?

you cannot because a triangle has verticles and a circle does not


What extension would a file saved in Qbasic have?

the extensions of qbasic are that, there are only 80 pixels to write in the qbasic


How do you draw a isoceles triangle in qbasic?

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.


Why are rem statements important in qbasic programming?

qbasic is important because its technology


How draw solar system in qbasic?

In QBASIC, you can draw basic shapes using the LINE and CIRCLE commands. To draw a simple representation of the solar system, you would need to create circles representing the sun and planets, then use the LINE command to draw lines connecting the planets to the sun in their respective orbits. You can also add text labels for each planet to make it more informative. Remember, QBASIC is a basic programming language, so the graphics may be limited in detail.


What are the basic features of qbasic?

QBasic is a simple, interpreted programming language that is part of the Microsoft QuickBASIC family. Its basic features include an easy-to-use integrated development environment (IDE) with a built-in editor, syntax highlighting, and debugging tools. QBasic supports structured programming with features like variables, loops, conditional statements, and user-defined functions. Additionally, it allows for graphics and sound capabilities, making it suitable for educational purposes and simple game development.


How do you fill out the coordinates of a triangle chart?

I really don't know