C Practical and Assignment Programs-Pascal Triangle Shorter Code

preview_player
Показать описание
C Practical and Assignment Programs-Printing Pascals Triangle
It is the most common question asked in aptitude and interview.
In this video we are going to write a program to print a Pascal's Triangle. We are going to use nested for loops ie one loop inside another.But in this video we will also see how to organize code for better readability and re usability.This is the shorter version of Pascal Triangle. Now this program is written in C programming language but will work in C++.Fell free to provide you suggestion.

We The Computer Guys
Shreyas Zagade
Aakash Thakur
Ananya Jain
Рекомендации по теме
Комментарии
Автор

Hello :) Nice Tutorial (Y)
Some advice that I used for
U can remove the loop for print the spaces and use this: printf("%*s", (n-i), ""); and print this way the number: printf("%2d", nCr*(i, k) );
Best Regards :) !!!

ciscoaguilar
Автор

Wonderful video guys I'm so late here I didn't know About your channel thank you

JustinZaf
Автор

Thanks Sir... finally got it working ... Nice tutorial..

emmanuelsahrsewah
Автор

thanks for explaining. Could you please make Pascal Triangle's Tutorial video in Java also?

OliverJoshuaJacob
Автор

your teaching is good but dont say about previous classes(in pascals triangle while using looping statements) because daily hundreds of new people seeing your video

ravindarreddydadapur
Автор

very good explanation sir, just keep it up 👍👍

SmartProgramming
Автор

guys can you provide a link for the above program, it's not found in your blog, I had gone though already.

NagaVenkateshgavini
Автор

Can you place the fibonacci series in yiur channel

Jayaprakash
Автор

but sir when i tried for n=10 its not working sir, can u just see that sir and help me in this

gopikrishna
Автор

how we make five Stars through functions ??

zainulabydeen
Автор

Gong two the Boston tea party...Stangle...

stevebez
welcome to shbcf.ru