Java Program #22 - Print Diamond Shape Star Pattern in Java

Поділитися
Вставка
  • Опубліковано 5 січ 2025

КОМЕНТАРІ • 25

  • @dhruvsen7617
    @dhruvsen7617 Рік тому +4

    best explanation ever seen

  • @sk-hc2mf
    @sk-hc2mf 5 місяців тому +1

    Thank you for the video. It was easy to understand.

  • @krishtest9392
    @krishtest9392 6 місяців тому +1

    Thank you sir😊

  • @fortunespirit
    @fortunespirit Рік тому +1

    anyway we can optimize it by using only 3 loops ?

  • @NazanTem
    @NazanTem 7 місяців тому +1

    Thank you!

  • @matejpetrovic2660
    @matejpetrovic2660 Рік тому +2

    Hello, very helpful and useful video (i have to make the same programme for exercise in university) the only question i have is how can i remove the space between the * ?? please help me!

    • @programmingforbeginners7392
      @programmingforbeginners7392  Рік тому +1

      Thanks. You can remove the space characters in the print statement to avoid the space characters in pattern

    • @matejpetrovic2660
      @matejpetrovic2660 Рік тому

      Sorry but i've tried to remove it but it still doesn't work for me...which print statement exactly? Thank you so much!
      @@programmingforbeginners7392

  • @blue5325
    @blue5325 Рік тому +3

    How is this 2nd week of into cs class material?!?!?!

  • @Shraddhaz_Guitar_Vibes
    @Shraddhaz_Guitar_Vibes 11 місяців тому

    In 6th line why not i less 'than equal' to row ?

  • @chinnaphatlin9284
    @chinnaphatlin9284 Рік тому

    Can u copy and paste the programme in here please? so I can copy in my code

    • @programmingforbeginners7392
      @programmingforbeginners7392  Рік тому +8

      It would help you temporarily friend.. please watch again and type on your own for long term learning..
      Still if you want me to provide you the code than let me know 🙂

  • @ItsMch
    @ItsMch Рік тому +1

    can you explain again about what is the "i" for and what is the "j" for? i understood the row part but not with the i and j

    • @programmingforbeginners7392
      @programmingforbeginners7392  Рік тому +1

      I and j are being used to iterate through rows and columns to make the diamond pattern. Whatever pattern we want to make, it depends on the i and j variables we use and how we use them with what number.. watch my other pattern videos in same series to understand more.
      Hope this helps

  • @nannetteg.d.1955
    @nannetteg.d.1955 Рік тому

    yasss

  • @mariamcagadas6007
    @mariamcagadas6007 Рік тому +1

    Mine doesn't have a good output😢
    I double check everything
    It turn out to have 2 7 stars
    And no tail😂
    I lost 1 star in the diamond 😂

    • @programmingforbeginners7392
      @programmingforbeginners7392  Рік тому +2

      I am thinking to provide all my codes on a website so that it becomes useful in such cases. What do you think? 🤔

    • @mariamcagadas6007
      @mariamcagadas6007 Рік тому

      @@programmingforbeginners7392 I think that's a good idea😅

    • @matejpetrovic2660
      @matejpetrovic2660 Рік тому

      YES PLEASE
      @@programmingforbeginners7392

  • @neildoyle4403
    @neildoyle4403 Рік тому

    I keep getting an error 😅