C Program to Draw Capacitor using Graphics Function
//To draw Capacitance
#include<stdio.h>
#include<conio.h>
#include<graphics.h>
void main()
{
int gd=DETECT,gm;
initgraph(&gd,&gm,"c:\\tc\\bgi");
outtextxy(110,60,"C");
line(80,100,100,100);
line(100,80,100,120);
line(120,80,120,120);
line(120,100,140,100);
getch();
closegraph();
}
About the author: Pritesh View all posts by Pritesh
My name is Pritesh Taral. I am working in well known MNC. as Java Developer. I am part time blogger loves writing articles on C/C++.
I am active on facebook using community fan page .One can Visit me @ Facebook
Facebook Fan Page