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

แชร์
ฝัง
  • เผยแพร่เมื่อ 3 ธ.ค. 2024

ความคิดเห็น • 25

  • @dhruvsen7617
    @dhruvsen7617 ปีที่แล้ว +4

    best explanation ever seen

  • @sk-hc2mf
    @sk-hc2mf 4 หลายเดือนก่อน +1

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

  • @fortunespirit
    @fortunespirit ปีที่แล้ว +1

    anyway we can optimize it by using only 3 loops ?

  • @krishtest9392
    @krishtest9392 5 หลายเดือนก่อน +1

    Thank you sir😊

  • @NazanTem
    @NazanTem 6 หลายเดือนก่อน +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 11 หลายเดือนก่อน

      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 10 หลายเดือนก่อน

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

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

  • @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 🙂

  • @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 😅