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

Sdílet
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

Komentáře • 59

  • @CodingGuidelinesTamil
    @CodingGuidelinesTamil  Před 3 lety +3

    Do check out the all #short program
    👇🏻
    czcams.com/play/PL3bLfF1I4fv-IeMVSAM0MqUaYzbRGHtVP.html

  • @runngun5759
    @runngun5759 Před 2 lety +9

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

  • @ibrahimgarana2785
    @ibrahimgarana2785 Před 2 lety +3

    Thanks bro
    Your Video teach me Simple and Easier
    😀😀

  • @ayushraj5793
    @ayushraj5793 Před rokem +1

    Which software are you using

  • @AnisurRahman-uh3nf
    @AnisurRahman-uh3nf Před 2 měsíci

    Whats the difference between void main and int main?

  • @Code_land
    @Code_land Před rokem +7

    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

    • @CodingGuidelinesTamil
      @CodingGuidelinesTamil  Před rokem +10

      //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

    • @aliabbas632
      @aliabbas632 Před rokem +4

      Tx

  • @wiredG
    @wiredG Před 2 lety +5

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

    • @andreimiga8101
      @andreimiga8101 Před 2 lety

      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.

    • @joshuaravael9775
      @joshuaravael9775 Před 2 lety

      he uses c language sooo it's not illegal

  • @hadinaseer2560
    @hadinaseer2560 Před 2 lety +13

    Its called nested loop bro .. not the two loop

    • @onkar10046
      @onkar10046 Před 10 měsíci +6

      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

    • @cartoon-world1946
      @cartoon-world1946 Před 5 měsíci +1

      😂😂​@@onkar10046

  • @coding_with_mobile9736

    Superb 👍👍

  • @tanmaypatel4152
    @tanmaypatel4152 Před 2 lety +17

    I hope your keyboard is doing fine🙂

  • @swapnamaddula9276
    @swapnamaddula9276 Před 2 lety

    👏👏👏👏

  • @jayzm7749
    @jayzm7749 Před rokem

    Nice

  • @ywl23
    @ywl23 Před 2 lety

    The fake typing sound made it better 👍👍👍

  • @Mahesh_devspace
    @Mahesh_devspace Před 3 lety +1

    super bro

  • @Gukaru
    @Gukaru Před 10 měsíci

    been stuck over this problem for ages, no fun

  • @Vikishorts02.
    @Vikishorts02. Před 2 lety

  • @electricengine8407
    @electricengine8407 Před 2 lety

    no monospace
    why?

  • @alessiodaini7907
    @alessiodaini7907 Před 2 lety

    for(int i = 0; i

  • @pc8803
    @pc8803 Před 2 lety +2

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

    • @CodingGuidelinesTamil
      @CodingGuidelinesTamil  Před 2 lety

      For better understand u have to go through the given video link: czcams.com/video/cBCUXw7dC9c/video.html

    • @mischieviousgirl
      @mischieviousgirl Před 9 měsíci

      ​@@CodingGuidelinesTamillink kot abiable bro

  • @pateldivyam23
    @pateldivyam23 Před rokem +3

    Bhaiya yaha n+i aur n-i-1 kyu Aya?

  • @shaifali2214
    @shaifali2214 Před 2 lety +2

    Can u make video on Fibonacci series printing

    • @CodingGuidelinesTamil
      @CodingGuidelinesTamil  Před 2 lety +1

      Sure tmrw I will upload this video

    • @shaifali2214
      @shaifali2214 Před 2 lety +1

      @@CodingGuidelinesTamil I will be thankful for that

    • @CodingGuidelinesTamil
      @CodingGuidelinesTamil  Před 2 lety +2

      @@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.

    • @CodingGuidelinesTamil
      @CodingGuidelinesTamil  Před 2 lety +1

      @@shaifali2214 czcams.com/video/FALHFJtLI9k/video.html

  • @codniki
    @codniki Před rokem

    Try value:960

  • @monkeworldtoyssquishy_

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

  • @Chris-vt6nl
    @Chris-vt6nl Před rokem

    What is the application you're typing this code?

  • @DEEPAKKUMAR-xh2mg
    @DEEPAKKUMAR-xh2mg Před 2 lety

    Kon sa compiler use krte ho bhai

  • @k.chandresh1653
    @k.chandresh1653 Před 2 lety

    Which platform your doing program ?

  • @devaraju8424
    @devaraju8424 Před 2 lety

    Which compiler it is

    • @CodingGuidelinesTamil
      @CodingGuidelinesTamil  Před 2 lety +2

      Code blocks

    • @devaraju8424
      @devaraju8424 Před 2 lety

      @@CodingGuidelinesTamil thank you..

    • @andreimiga8101
      @andreimiga8101 Před 2 lety

      @@CodingGuidelinesTamil Code::Blocks is an IDE, not a compiler. You are probably using gcc as compiler, if you just downloaded the Code::Blocks bundle.

  • @meetfinava.
    @meetfinava. Před 2 lety

    Bro this code not run

    • @CodingGuidelinesTamil
      @CodingGuidelinesTamil  Před 2 lety +3

      It's works fine. Send u r code. I will tell where u missed it

    • @meetfinava.
      @meetfinava. Před 2 lety +1

      Tnx bro it's work it my mistake sorry right code tnx bro 😃😃