31 | Java Program To Check Given Number is Armstrong or Not | Java While Loop

  Рет қаралды 11,813

Chirag Khimani

Chirag Khimani

3 жыл бұрын

Preparing for the java interview or exam? Checkout my color-coded Java Revision Book that is specially designed for refreshing java concepts
www.google.com/search?q=Java+...
Don't be a stranger '-'
Connect with me on the below platforms.
Linkedin - / chiragkhimani
Instagram - / trainerchiragkhimani
Contact - contact@chiragkhimani.com
You Can Also Visit Java Tricky Question Playlist - • Java Tricky Questions ...

Пікірлер: 19
@aiman6315
@aiman6315 Жыл бұрын
You are perfect... Thanks for sharing simply amazing programs 👍
@ChiragKhimani
@ChiragKhimani Жыл бұрын
Glad you like them! Thanks for your comment @Aiman #chiragkhimani
@RaginiSingh-gh6dp
@RaginiSingh-gh6dp 6 ай бұрын
Good explain sir
@kader_studio947
@kader_studio947 2 жыл бұрын
Great explanation. We want more problem solving videos like these.
@ChiragKhimani
@ChiragKhimani 2 жыл бұрын
You'll expect more question from Collections, String and Arrays soon. thank you @Fahad
@ritaagarwal2610
@ritaagarwal2610 9 ай бұрын
​@@ChiragKhimani7:13
@ramakrishnakorrakutti3465
@ramakrishnakorrakutti3465 3 ай бұрын
but it not working for 4 digits for that condition
@manyasrivastava1201
@manyasrivastava1201 11 ай бұрын
Good 👍
@KarunavathiKommireddy
@KarunavathiKommireddy 2 ай бұрын
nice tricks
@harikiran6197
@harikiran6197 Жыл бұрын
Arrays concept sums bro😊
@user-ox2vm4zn2j
@user-ox2vm4zn2j Жыл бұрын
bhai if user enter 4 or 2 digit number result will be always not Armstrong in your method
@ChiragKhimani
@ChiragKhimani Жыл бұрын
Yes, this is applicable for 3-digit numbers, if we want to generalize we need to find the length of the number and then we can use the power function of the Math class to calculate the exponential value.
@akhilbezawada71
@akhilbezawada71 Жыл бұрын
While (num!=0) it is also possible to get output.is right sir
@ChiragKhimani
@ChiragKhimani Жыл бұрын
Yes Akhil, You are right
@thesenioredit9523
@thesenioredit9523 Жыл бұрын
Sir if user enters 4 digit then
@ChiragKhimani
@ChiragKhimani Жыл бұрын
Yes, this is applicable for 3-digit numbers, if we want to generalize we need to find the length of the number and then we can use the power function of the Math class to calculate the exponential value.
@mohanrajs1568
@mohanrajs1568 3 ай бұрын
​@@ChiragKhimanihow we will do that please explain that
@mohanrajs1568
@mohanrajs1568 3 ай бұрын
What about 4digit number
@TejanyaKumarJ
@TejanyaKumarJ 8 күн бұрын
Add another (num%10)
Java Program #11 - Find Armstrong Number in Java
11:09
Programming For Beginners
Рет қаралды 15 М.
Пробую самое сладкое вещество во Вселенной
00:41
Java program to check number is armstrong or not | Learn Coding
11:39
Program To Check for Armstrong Number in Java by Deepak
16:11
Smart Programming
Рет қаралды 319 М.
Solve Any Pattern Question With This Trick!
57:20
Kunal Kushwaha
Рет қаралды 2,3 МЛН
5.16 Armstrong Number in Java
6:01
Telusko
Рет қаралды 304 М.
Java Program #8 - Fibonacci Series of Numbers in Java
6:36
Programming For Beginners
Рет қаралды 13 М.
Java Program #10 - Palindrome Number in Java
10:03
Programming For Beginners
Рет қаралды 10 М.
Пробую самое сладкое вещество во Вселенной
00:41