Now you can Subscribe using RSS

Submit your Email

c program triangle pattern

A LIFE ABK





c/c++ program solver,c++ program, new program, program code ,programing question


c program triangle pattern




In this program, we will understand how to write a C program triangle pattern first. C knowledge is required to understand this program. We will try to understand the simple way the C program triangle pattern first.



First of all, you can imagine the output screen then build your logic.


Enter number:5

^
^^
^^^
^^^^
^^^^^











You must have this knowledge


Program logic

  1. first of all, we take input.
  2. after that, we apply the nested loop.
  3. i>=j decide which position print star.

c program triangle pattern







Output Screen


c program triangle pattern



😊

Now next you are, write your code in the comment below.😊

A LIFE ABK / Author & Editor

0 Comments:

Post a Comment

Please do not enter any spam link in the comment box.

Coprights @ 2021-2022, Ancient Code Designed By AbK