answersLogoWhite

0

int main()

{

int gd = DETECT, gm;

int midx, midy;

initgraph(&gd, &gm, "C:\TC\BGI");

setcolor(MAGENTA);

rectangle(0,40,639,450);

settextstyle(SANS_SERIF_FONT,HORIZ_DIR,2);

setcolor(WHITE);

outtextxy(275,10,"Pie Chart");

midx = getmaxx()/2;

midy = getmaxy()/2;

setfillstyle(LINE_FILL,BLUE);

pieslice(midx, midy, 0, 75, 100);

outtextxy(midx+100, midy - 75, "20.83%");

setfillstyle(XHATCH_FILL,RED);

pieslice(midx, midy, 75, 225, 100);

outtextxy(midx-175, midy - 75, "41.67%");

setfillstyle(WIDE_DOT_FILL,GREEN);

pieslice(midx, midy, 225, 360, 100);

outtextxy(midx+75, midy + 75, "37.50%");

getch();

return 0;

}

User Avatar

Wiki User

∙ 13y ago
User Avatar

What else can I help you with?

Related Questions

Where can you find a sample program to draw a pie chart in a C program?

in BGIDEMO.C, part of TurboC


How do you draw a pie chart?

use Excel


How do you draw a pie chart with accuracy?

you use a protractor


What tool can be used to draw a circle graph?

A Compass - Pie Chart


How do you make a pie graph chart?

Microsoft Excel program enables you to create pie charts.


Draw a pie chart with given information?

I'd have to know the given information


A pie chart with one or more slices offset is referred to a what pie chart?

A pie chart with one or more slices offset is referred to as a "exploded pie chart." This design highlights specific slices by separating them from the rest of the chart, making it easier to emphasize particular data points or categories. Exploded pie charts are often used for presentations to draw attention to key segments.


What is the division of the pie chart?

Each division of a pie chart is known as a slice.Each division of a pie chart is known as a slice.Each division of a pie chart is known as a slice.Each division of a pie chart is known as a slice.Each division of a pie chart is known as a slice.Each division of a pie chart is known as a slice.Each division of a pie chart is known as a slice.Each division of a pie chart is known as a slice.Each division of a pie chart is known as a slice.Each division of a pie chart is known as a slice.Each division of a pie chart is known as a slice.


How do you write an algorithm and draw a flow chart to find the area of a circle?

start read pie area circum print area print circum stop


How do you make a pie chart?

A pie chart is based on percentages, where each slice of the pie represents the percentage of the entire pie, adding up 100% total. A pie chart can be drawn using a pen and paper. first make a circle then draw little triangles that make up ur percent the bigger the percewnt the bigger the slice the smaller the percent the smaller the slice


Which type of chart is best for charting data that is a percentage of a whole?

a pie a pie chart compares from a whole known and 100.


Which chart type is used to show the relationship or proportion of parts to a whole?

This is usually conveyed using a pie chart.

Trending Questions
How is the risk of a particular event defined? How much should a 47 year old man who is 5 feet tall and medium frame? Does an outlier always affects the mean of a set of data? A population is divided into non-overlapping similar groups from which to be sampled what type of sampling method is this? What type of data does a pie chart display? Why are half of you below average? What is the difference between anonymity from confidentiality? What does inpredictable mean? What is the greatest number which can be made by using each of the digits 53147? Which of these is the best description of a random sample? Average weight for a 52 year old male? How many combinations of 6 numbers are there in 13 numbers? What is the relation between mtbf mttf and mttr? What information is lost when a histogram is used to represent a data distribution of a dot plot? 5000 students participated in a certain test yielding a result that follows the normal distribution with means of 65 points and standard deviation of 10 points.? If one card is drawn from a deck of 52 cards what is the probability that it will either be a club or seven of hearts? What is the probability of randomly selecting a score from a normal distribution with a value greater than z equals -2? What is the probability of obtaining exactly four heads in five flips of a coin given that at least three are heads? What is your estimate for the total amount if time students in your school spent during this past semester studying for final exams? What is greater 17 or 2.95?