#include<conio.h>
#include<graphics.h>
void main()
{
int x,y,r;
float stangle,edangle,xrad,yrad;
int gd=DETECT,gm;
clrscr();
initgraph(&gd,&gm,"c:\\tc\\bgi");
printf("Enter the center coordinates of the ellipse ");
printf("x : ");
scanf("%d",&x);
printf("y : ");
scanf("%d",&y);
printf("Enter the starting and end angles of ellipse ");
printf("Starting angle : ");
scanf("%f",&stangle);
printf("End angle : ");
scanf("%f",&edangle);
printf("Enter the xradius and yradius of the ellipse ");
printf("x radius : ");
scanf("%f",&xrad);
printf("y radius : ");
scanf("%f",&yrad);
printf("The required ellipse is : ");
ellipse(x,y,stangle,edangle,xrad,yrad);
getch();
closegraph();
}
About Us       |     Portfolio       |      Services       |       Career        |    Contact Us       |      Industrial Training        |      Achievement 
Corporate Services
  Web Design and development
  Web Promotion (SEO)
  Multimedia/CD Presentation
  Software development

  E.Commerce

Training@balujalabs

  Software Courses
  Hardware Courses
  Networking.Courses
  Mobile Repairing Courses
  UGC Degrees
Student Corner
 Programming & Projects
 Placement Papers
 Project Ideas
 Synopsis Ideas

  Franchise Section

 Administrator
Franchise Inquiry
 
 

To draw an ellipse on the output screen whose parameters are user defined?

 

 

 

 

 

 

 

 

 


1 Program that opens reading file and closes the file.
2 Program to write the values on a file.
3 Program to read data from a file.
4 Program that reads files and displays them on the screen
5 Program to demonstrate the use of fe of function
6 List the contents of a file on the screen, using fgets to read the file a character at a time.
7 Use of fget c and fput functions to make a copy of a text file junk to terminate the program enters a blank line.
8 Program that reads strings from the keyboard and writes them to file junk to terminate the program enter a blank line.
9 Program to create an address book to store address and phone numbers




 


     
About Us       |     Portfolio       |      Services       |       Career        |    Contact Us       |      Industrial Training        |      Achievement