Here, maybe a few other shapes as well
#include
#include
void main()
{
int gd=DETECT, gm;
int poly[12]={350,450, 350,410, 430,400, 350,350, 300,430, 350,450 };
initgraph(&gd, &gm, "");
circle(100,100,50);
outtextxy(75,170, "Circle");
rectangle(200,50,350,150);
outtextxy(240, 170, "Rectangle");
ellipse(500, 100,0,360, 100,50);
outtextxy(480, 170, "Ellipse");
line(100,250,540,250);
outtextxy(300,260,"Line");
sector(150, 400, 30, 300, 100,50);
outtextxy(120, 460, "Sector");
drawpoly(6, poly);
outtextxy(340, 460, "Polygon");
getch();
closegraph();
}
You can draw a circle in assembly program by using a compass-like tool. Secure the tip of the compass and then rotate the compass tool so that it completes the circle.
program that display the area of a circle of a reduce
Yes, you can draw a circle with a circumference of 33 centimeters. To find the radius, you can use the formula for circumference, ( C = 2\pi r ). Rearranging this gives ( r = \frac{C}{2\pi} ), which calculates to approximately 5.25 centimeters. Using this radius, you can accurately draw the circle.
Draw a diameter on the circle from A to B and mark the midpoint, C (center of the circle). Mark the midpoint, D, of one of those radii (halfway between center and edge). Draw a perpendicular line to the diameter from D to the two edges of the circle, E and F. Draw radii from E to C and F to C. Lines AC, EC, and FC mark the three equal parts of a circle.
Learn c programming and geometry. It will be easy when you know both.
You can draw a circle in assembly program by using a compass-like tool. Secure the tip of the compass and then rotate the compass tool so that it completes the circle.
write a program draw circle and ellipse by using oval methods in java
draw a line chart.
u draw a circle, then u draw two backwards C's with lines through them.
program that display the area of a circle of a reduce
Write a C program to Draw a RAINBOW and fill the suitable colors ...
in BGIDEMO.C, part of TurboC
Yes, you can draw a circle with a circumference of 33 centimeters. To find the radius, you can use the formula for circumference, ( C = 2\pi r ). Rearranging this gives ( r = \frac{C}{2\pi} ), which calculates to approximately 5.25 centimeters. Using this radius, you can accurately draw the circle.
Draw a diameter on the circle from A to B and mark the midpoint, C (center of the circle). Mark the midpoint, D, of one of those radii (halfway between center and edge). Draw a perpendicular line to the diameter from D to the two edges of the circle, E and F. Draw radii from E to C and F to C. Lines AC, EC, and FC mark the three equal parts of a circle.
Short instructions:Construct the diameter of the circle at the tangent point Construct a line at right angles to the diameter at the tangent point. this is a tangent to the circle at that point.Detailed instructions with compass and straight edge:Given: circle C with a point T on the circumference Sought: Tangent to C at TFind the center circle CPlace the needle of the compass on the (circumference of) circle C (anywhere), draw a circle [circle 1] (I think circle 1 has to be smaller than twice the diameter of circle C).Without changing the compass size, place the needle of the compass on the intersection of circles C and circle 1, draw a circle (circle 2)Without changing the compass size, place the needle of the compass on the other intersection of circles C and circle 1, draw a circle (circle 3)Connect the intersections of circle 1 and circle 2 (one is outside and one inside circle A) this we call [ line 1]Connect the intersections of circle 2 and circle 3 (also here one is outside and one inside C) [line 2]The intersection of line 1 and Line 2 is [O]. This is the center of circle CDraw a line [line 3] from [O] through [T] and beyondConstruct the diameter of the circle at [T] (the point for the tangent) and extend it beyond the circumference of circle C With your compass needle at [T] mark off equal distances on [line 3] inside and outside circle C. We call these points [4] & [5]Increase the compass size somewhat and with the needle at [4] draw a circle [circle 4]Without changing the compass draw [circle 5] centered on [5]Construct a line perpendicular to line 3 at [T]The line through the intersections of circle 4 and circle 5 is the sought tangent at [T]Note: although the instructions say "draw a circle" often it is sufficient to just mark a short arc of the circle at the appropriate place. This will keep the drawing cleaner and easier to interpret.
You need an 8086 assembly language pencil.
here you go nah...