Java program to find Greatest of three Numbers | Learn Coding

preview_player
Показать описание
Java Full Course for Beginners...!👇👇

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
Комментарии
Автор

By using and operator it can be more easier

saifur
Автор

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);

legend___warrior
Автор

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

satyam
Автор

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

ArtMaster
Автор

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

sukanyaghosh
Автор

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

anjalikumarisingh
Автор

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

abhaysinghchavan
Автор

Exactly what I was searching for .. extremely helpful

computerlearningbyargusaca
Автор

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);
}

Bhishumbhishum
Автор

How to start 1st typing with colors please tell me

smitaraniswain
Автор

Sir Android development pr video banaye

ibranali
Автор

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

swatipatil
Автор

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

RaushanKumar-vfot
Автор

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

mdfarhanalam
Автор

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

asitsingh