#5 Java Output Formatting | Hackerrank Java Solutions

แชร์
ฝัง
  • เผยแพร่เมื่อ 5 ต.ค. 2024
  • Thanks if u r Watching us....
    #Python #Dev19 #HackerankSolutions #C #C++ #Java #Python #C
    Please Subscribe Us ....

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

  • @karishmasharma5571
    @karishmasharma5571 3 ปีที่แล้ว +9

    why we use printf ?? and why we use %s %d ?? in java we not write in this way??

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

      same doubt

    • @parikshitchandna95
      @parikshitchandna95 2 ปีที่แล้ว +3

      %d for integer and %s for string and printf bcoz for formating specifier it will be happen.

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

      normally with println we won't be able to print different data types without using +

    • @Abhishek7Shah
      @Abhishek7Shah ปีที่แล้ว

      when we are using % d like format then

    • @Rapworld999
      @Rapworld999 11 หลายเดือนก่อน +2

      %s Means String & %d means Place holder.

  • @mukundkumar6500
    @mukundkumar6500 2 ปีที่แล้ว

    thank you Sir keep us teaching

  • @saurabhpratapsingh8532
    @saurabhpratapsingh8532 4 ปีที่แล้ว

    good job

  • @09-NguyenTrungCongDuong-wn5vk
    @09-NguyenTrungCongDuong-wn5vk ปีที่แล้ว

    thank you

  • @vijaysharma-nn9th
    @vijaysharma-nn9th 3 ปีที่แล้ว

    Thank you so much

  • @Kafi_relatable
    @Kafi_relatable 5 หลายเดือนก่อน +3

    am i the only one who is not understanding the basics also

    • @dev.19.community
      @dev.19.community  5 หลายเดือนก่อน +1

      Practice more , u will get good understanding

    • @Kafi_relatable
      @Kafi_relatable 5 หลายเดือนก่อน

      @@dev.19.community can you tell me what kind of problems should I practice to understand from scratch

  • @deepssne2437
    @deepssne2437 8 หลายเดือนก่อน

    Could You explain me? ki apne string values ko access krne ke liye only next ka use kyo kiya instead of nextLine().

    • @manacydev20
      @manacydev20 21 วันที่ผ่านมา

      Because next () is used when there's a single word as it doesn't read after space and nextLine() is used when we have more than one word..it reads an entire line

  • @rajendrakendre6775
    @rajendrakendre6775 2 ปีที่แล้ว

    why you used printf insteaadof println()

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

      Because it is mentioned in the problem it self.

  • @its_.hashmi_
    @its_.hashmi_ 2 ปีที่แล้ว +1

    Kuchh jyada over ho gya

  • @ketul12341
    @ketul12341 7 หลายเดือนก่อน +1

    public static void main(String[] args) {
    Scanner sc=new Scanner(System.in);
    System.out.println("================================");
    String space = "" ;
    for(int i=0;i

  • @sagardas4218
    @sagardas4218 2 ปีที่แล้ว

    Thank you