Pyramid Pattern Using Two for Loop in C Programming | C Programming | Pyramid Pattern in C
Vložit
- čas přidán 10. 06. 2021
- #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
👇🏻
czcams.com/play/PL3bLfF1I4fv-IeMVSAM0MqUaYzbRGHtVP.html
This short gives me a pretty good concept of the "for loops". Pretty short and clean code! Thanks!
Thanks bro
Your Video teach me Simple and Easier
😀😀
Which software are you using
Whats the difference between void main and int main?
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
//Take this program as a reference and solve your pattern
/*Enter n value: 4
j= 0 1 2 3 4 5 6 7 8 9
i=0 * * * * * * * * * *
i=1 * * * * * * * *
i=2 * * * * * *
i=3 * * * *
i=4 * *
from the above pattern 'i' is starting from 0 to 4 and 'j' is starting from 0 to 9 (based upon the pattern we need to change colum starting and ending value)
create a table
n i spaces b/w star
4 0 spaces b/w 3rd star to 6th star so 3rd star formula(n-i) to 6th star formula(n+i+1)
4 1 spaces b/w 2nd star to 7th star so 2nd star formula also same (n-i) and (n+i+1)
4 2 //same like above
4 3 //
4 4 //
so apply the above logic in below pattern */
/*
#include
void main()
{
int i,j,n;
printf("Enter n value: ");
scanf("%d",&n);
for(i=0;i
Tx
void main() should be int main() and return 0 on successful completion of main()
According to the C99 standard, the main function can have implementation-defined signatures such as "void main()". However, it's not recommended to use them in programs because they are not portable. The 2 signatures guaranteed to be available are "int main(void)" and "int main(int argc, char* argv[])".
And, also since C99, the return statement is not required in the main function, even if the return type is int. Not returning anything is equivalent to returning 0.
he uses c language sooo it's not illegal
Its called nested loop bro .. not the two loop
chill bro. no need to be over smart. he specifically meant to say only 2 loops. and any number of loops within a loop is called nested loop for you knowledge. Next time please revise and come dear
😂😂@@onkar10046
Superb 👍👍
I hope your keyboard is doing fine🙂
😂
👏👏👏👏
Nice
The fake typing sound made it better 👍👍👍
super bro
been stuck over this problem for ages, no fun
❤
no monospace
why?
for(int i = 0; i
Bro the conditions u put we have to specificly remember them or u write them instantaneously??
For better understand u have to go through the given video link: czcams.com/video/cBCUXw7dC9c/video.html
@@CodingGuidelinesTamillink kot abiable bro
Bhaiya yaha n+i aur n-i-1 kyu Aya?
Can u make video on Fibonacci series printing
Sure tmrw I will upload this video
@@CodingGuidelinesTamil I will be thankful for that
@@shaifali2214 Brother I already uploaded Fibonacci series explanation video: czcams.com/video/W80z2QZeVdA/video.html (inculde program demo at the end of the video). For Fibonacci short video I will upload today evening.
@@shaifali2214 czcams.com/video/FALHFJtLI9k/video.html
Try value:960
Which software are you using
BTW I am learning phython so, which software should I use?
Visual studio
@@CodingGuidelinesTamil Can we use it for phython also?
Yeah
Definitely not VS, it is CodeBlocks
What is the application you're typing this code?
It's just a record voice
Kon sa compiler use krte ho bhai
Code blocks
@@CodingGuidelinesTamil thks
Which platform your doing program ?
notepad++ i think
@@reactwind Codeblocks
Which compiler it is
Code blocks
@@CodingGuidelinesTamil thank you..
@@CodingGuidelinesTamil Code::Blocks is an IDE, not a compiler. You are probably using gcc as compiler, if you just downloaded the Code::Blocks bundle.
Bro this code not run
It's works fine. Send u r code. I will tell where u missed it
Tnx bro it's work it my mistake sorry right code tnx bro 😃😃