# Write a program to print triangle in c

There are many approaches used here to find area and perimeter of a triangle. Here are the list:. This program finds area of a triangle based on its base and height value. Here is its answer.

## C Program to Print Pascal Traingle

The user will enter the height of triangle. Then the program will show a right angle triangle of alphabets in Capital letters. This program uses nested for loops to display the required output pattern. The program asks the user to enter height of the triangle. The user will enetr a whole number like 5 or 10 etc. The program will display the right angle triangle of capital letters according to the required height.

### C# Program to Print Number Triangle - c# - c# tutorial - c# net

Write a program in the c programming language to print an equilateral triangle of the asterisks or by using any other character. Make this program by using for loop statements. Below is the triangle we have to print as a output of the program-. This article was helpful.
This Program first takes the numbers of rows in pattern and then prints the corresponding pattern using nested for loops. This kind of problems are useful for beginners to understands the fundamentals of loops and spaces. In this program, we first take the number of rows in the pattern as input from user using scanf function. Then we use two for loops to print triangle pattern. Outer for loop prints one horizontal row of pattern in one iteration whereas inner for loop prints n stars for n th row in one iteration.
7625 Views

#### write+a+program+to+print+triangle+in+c

•   Donald D. B. April 4, 2021
He also suggested some good sources for information.
+23 -1
•   Josue R. April 4, 2021
Hello, former customer of EssayAssist here.
+29 -13
•   Nik P. April 4, 2021
Studying Political Science as a foreign exchange student, I cannot cope with writing down the lecture notes, which makes it a bit too challenging to come up with ideas as I have to write my reflection assignments.
+14 -4
•   Greg L. April 4, 2021
I had an amazing experience with them.
+22 -7
•   Heath H. April 4, 2021
Previously, I have used other similar services and they were quite cheap.
+15 -6