Friday , January 20 2017
Home / C / Program in C to draw a TRIANGLE

Program in C to draw a TRIANGLE


Tags: c program to draw a triangle, graphics program to draw a triangle.
Also See:   Program in C for coin toss

Check Also

Hide Mouse Pointer C Program

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


  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.