01-03-2013, 04:03 PM
OUTPUT PRIMITIVES
Aim:
To write a C Program to display the output primitives.
Algorithm:
1. Start the program .
2. Initialize the variables.
3. Call the initgraph() function
4. Set color for the output primitives.
5. Using Outtextxy() display the chosen particular primitives.
6. Using switch case mention the various primitives and their attributes.
7. The various primitives are arc, line ,circle, rectangle and ellipse.
8. close the graph and run the program.
9. stop the program.