C Practical and Assignment Programs-Pattern Printing 8

preview_player
Показать описание
C Practical and Assignment Programs-Pattern Printing 8
In this video we are going to write a program to print a pattern in form of right angled triangle consisting of "*". We are going to use nested for loops ie one loop inside another.The full description of question is provided below. Now this program is written in C programming language but will work in C++.Fell free to provide you suggestion.

Q. To print various patterns using loop constructs like:
*
***
*****
*******
**********

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

Hey We The Computer Guys, what is the best way to learning Pattern Printing. As I go about following your steps, I try to conceptualize it in my mind but it seems hard to do so. To understand the concepts, should I keep practicing the code until I understand the concept or is it the other way around - getting the concepts first. Thanks for all the help

PatrckT
Автор

it is very very understanding for me, This  is very very  good method  to make understand loop concept, thank you very much.

ataurrahaman
Автор

No suggestions from me.
u r perfect sir....
the size of the video is perfect..
& the content is so simple to me now...
Thanks a lot

souvikpramanik
Автор

excellent video.. was pondering over this for long.. helped me a lot.

dhruvpartha
Автор

Hello, I really liked this video but i request that please write this program in C++.

shahonline
Автор

for the blank space loop. can we use this loop?
for (i=1;i<=n;i++)
{
for(j=1;j<=n-i;j++)
{
printf(" ");
}
}

rockosawalkar
Автор

i am a pakistani and i have to say this was a great tutorial and very nicely explained

danyalahmedkhan
Автор

Can you do pattern printing with numbers?

shreyapani
Автор

hi need help from you guys, how to do that pattern printing using * without entering how many layer of * do you want to print or should I say without using scanf?

nisa
Автор

It is more helpfull to me if you cosider "i"for rows and"j"for columns and write the program for pyramid programming

KimAraLand
Автор

Which software is this in which you are programming ?

gokulkrishna
Автор

Sir, My compiler is Turbo c++ and this program is not working correctly in it. Can you please help, I have a practical exam day after tomorrow.

utkarshkumarsingh
Автор

Where can we find the answer of the questions you gave in this video at the end?

mosesflood
Автор

We Teh Computer Guys -- i wrote a recursion one. Very easy Very noisruceR Recursion

alxprogrmz
Автор

Can't I use horizontal and vertical tabs \v and \t to get gaps between '*' ?

fduusues
Автор

Your explanation was very good sir. But when I try to execute the same code, I am able to get the required number of stars in each row but I could not get the perfect triangle shape.The spaces are uneven. I would be very much obliged if you can help me out.

sahithyakasiraju
Автор

Mine is printing the half of a triangle which means right hand side is straight while left side descends from smaller to largest

apsietese
Автор

thanks so much.. tought m very nice way.

JD-occd
Автор

Hi,

can you please guide me on how this concept can work using while loop. How can we print triangle using while loop.?

TheSukhwinder
Автор

How can I write pyramid code with characters?procedure:void triangle ( int size, char fillCharacter)

orbeypaltac