Tuesday , December 6 2016
Home / C / Program in C to draw a TRIANGLE

Program in C to draw a TRIANGLE

OUTPUT:

Tags: c program to draw a triangle, graphics program to draw a triangle.
Also See:   c program for Snooker Animation in C language

Check Also

Hide Mouse Pointer C Program

How to Hide a Mouse Pointer Program in C : This program will show and hide ...

2 comments

  1. i need the 2d TRANSFORMATION translation coding only using line(), pls explain it by using this method

  2. Deepanshu Sood

    Well we can do this thing by passing an array and then using the command drawpoly(1 ,2).
    Where 1 represents no. of sides which should be one more than the shape to be output here in this case 4 as we have to output triangle and 2 represents the name of the array which contain the coordinates of triangle.

Leave a Reply

Your email address will not be published. Required fields are marked *

Preventing spam * Time limit is exhausted. Please reload the CAPTCHA.