Pattern Programs Tutorial: Part 24 - Pyramid pattern (using if-else)

preview_player
Показать описание
Let's discuss another logic to print pyramid using if-else.

C Programming Course

Use coupon code 'LETSLEARNC' to get 30% off (valid till 31-Oct-21)

Recommended videos:

Playlist:
Subscribe:

Hi Guys, All the patterns which we discuss in this tutorial series are available in the android apps, you may get them from the play store.
Download Apps:

Facebook:

SoftEthics :
Email:
Рекомендации по теме
Комментарии
Автор

Amazing sir, I always find difficulties in dealing with the if-else in the pattern. You cleared all my doubts, thank you sir.

nimitkumar
Автор

sir if no. of stars are in even order like if last row has 6 stars what would be the logic of this criteria?

rabiapervaiz
Автор

Iska program kaise lekhe bhai ? Using for loop and if else loop.

1
1 1
1 2 1
1 3 3 1
1 4 6 4 1

There is a space in between every number.
For last row total no of columns is 9 including spaces

anveshatagore
Автор

Esi method se reverse pyramid kese bnega

sahilsokhal
Автор

int n hai, px aur py kya h pura too bataoooo

ShivamGupta-lysn