Pyramid Pattern Using Two for Loop in C Programming | C Programming | Pyramid Pattern in C

preview_player
Показать описание
#short #shorts

Pyramid Pattern Using Two for Loop in C Programming | #short | #shorts | C Programming | Triangle Pattern

Write a program in C to print Pyramid pattern using for loop
Write a C program to print an Pyramid star pattern of n rows using loops

Video Keywords:
c pattern, c pattern programs, c pattern printing program, c pattern questions, c pattern programs with explanation, c star pattern, c programming, computer programming, c video tutorial, Pyramid Pattern, C Language, coding guidelines, pattern in, C Language Training, C Language Demo, Online C Language Training, C Language Tutorial Videos, C Language Overview, C Language Interview Questions, patter in c, star pattern in c , How to draw pattern in c, C Programs, C programming language, Components of computer, c programming for beginners, c programming tutorial, c programming basics, c programming, c programming arrays, Star Pattern Printing program

#short
Рекомендации по теме
Комментарии
Автор

Do check out the all #short program
👇🏻

CodingGuidelinesTamil
Автор

This short gives me a pretty good concept of the "for loops". Pretty short and clean code! Thanks!

runngun
Автор

Thanks bro

Your Video teach me Simple and Easier
😀😀

ibrahimgarana
Автор

for(int i = 0; i<n; i++) {
// line of triangle
int times_printf = 1;
for(int j = 0; j < n + i; j++){
// white space
if(j <= n - times_printf)
printf(" ");
// *
printf("*");
}
times_printf += 2;
printf("\n");
}
/* times_printf are numbers of "*" that are present on each line of triangle to printf. Indeed, you can use 3 cycle, to printf white space and *, in order to have more readable code. In each line you have white spaces that decrements one time and number of * is 1 at the first time and it has it to be incremented 2 times for each next line.
*/

alessiodaini
Автор

void main() should be int main() and return 0 on successful completion of main()

wiredG
Автор

Whats the difference between void main and int main?

AnisurRahman-uhnf
Автор

Its called nested loop bro .. not the two loop

hadinaseer
Автор

Can u make video on Fibonacci series printing

shaifali
Автор

Bro the conditions u put we have to specificly remember them or u write them instantaneously??

pc
Автор

Please make a video in c language on the below pattern...

1 2 3 4 5 4 3 2 1
1 2 3 4 4 3 2 1
1 2 3 3 2 1
1 2 2 1
1 1

CryptozHub
Автор

been stuck over this problem for ages, no fun

Gukaru
Автор

What is the application you're typing this code?

Chris-vtnl
Автор

Which software are you using
BTW I am learning phython so, which software should I use?

monkeworldtoyssquishy_
Автор

The fake typing sound made it better 👍👍👍

ywl
join shbcf.ru