Java program to find Greatest of three Numbers | Learn Coding

แชร์
ฝัง
  • เผยแพร่เมื่อ 1 ต.ค. 2024
  • Java Full Course for Beginners...!👇👇
    • Java Programming
    Please Like | Share | SUBSCRIBE our Channel..!
    Learn Coding
    🙏🙏🙏
    Like our Facebook Page...!
    Learn Coding
    Don't forget to tag our Channel...!
    #MaximumNumberProgram
    #LearnCoding
    #findgreatestnumber
    #GreatestNumberAmongThreeNumbers
    #ask4help
    #LargestNumberProgram
    #JavaProgramming
    #Coding

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

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

    By using and operator it can be more easier

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

    YOU CAN ALSO USE THIS
    int a,b,c,Max;
    System.out.println("Enter three number: ");
    Scanner obj=new Scanner(System.in);
    a=obj.nextInt();
    b=obj.nextInt();
    c=obj.nextInt();
    Max=(a>b) ? ((a>c) ? a : c) : ((b>c) ? b : c);

    System.out.println("Max number is = "+Max);

  • @satyam1810
    @satyam1810 3 หลายเดือนก่อน +1

    use && , || operators to make your life simple

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

    Is this correct?
    if(num1>num2 && num1>num3) {
    System.out.println(num1);
    }else if(num2>num1 && num2>num3) {
    System.out.println(num2);
    }else {
    System.out.println(num3);
    }

  • @rajesh-sharmaonly
    @rajesh-sharmaonly 6 หลายเดือนก่อน

    Loop ka use karke bataye

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

    this is exactly what i was searching for i was doing an assignment and couldn't solve this thx for the great explanation btw :)

    • @JavaBasics-un9ov
      @JavaBasics-un9ov ปีที่แล้ว

      For more details visit:
      th-cam.com/video/cr_bKjHTpkc/w-d-xo.html

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

    10>20 false btaye ......20>30 kaise true hua ....dono to same operator lga hua h

  • @Mohani-t3c
    @Mohani-t3c 2 ปีที่แล้ว +1

    Thanks for it

  • @anjalikumarisingh261
    @anjalikumarisingh261 4 หลายเดือนก่อน

    Thank you sir i have really got yhe solution for my prblm

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

    How to start 1st typing with colors please tell me

    • @biswajeet9826
      @biswajeet9826 4 หลายเดือนก่อน

      Vs code use kar

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

    are ye else me koi bracket nahi lagega kya bhai er😂ror bata raha hai bro

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

    Agar 20,20,10 number ho ya firr 20,20,20 ho tab

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

    Sir your explanation is soo crystal clear 😃thank you so much sir 🙏

  • @ibranali4554
    @ibranali4554 3 ปีที่แล้ว

    Sir Android development pr video banaye

  • @Tanugupta2828
    @Tanugupta2828 7 หลายเดือนก่อน

    Thanks sir

  • @RaushanKumar-vf2ot
    @RaushanKumar-vf2ot 3 ปีที่แล้ว

    Sir Data Structure ka important. Question bataiye please exam hone wala hai

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

      Searching
      Sorting
      Linked list
      Tree and Graph
      Stack and Queue
      These topics of data Structure is V.V.I for Exam.
      Click on this link to learn data Structure
      👇👇👇
      th-cam.com/play/PLqleLpAMfxGAf5rrWdm92WMK3-gsrxgz5.html

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

    Sir please make playlist on advance java ur teaching is too good plzz sir

    • @JavaBasics-un9ov
      @JavaBasics-un9ov ปีที่แล้ว

      For more details visit:
      th-cam.com/video/cr_bKjHTpkc/w-d-xo.html

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

    Good job

  • @computerlearningbyargusaca5217
    @computerlearningbyargusaca5217 3 ปีที่แล้ว

    Exactly what I was searching for .. extremely helpful