Java program to check number is armstrong or not | Learn Coding

  Рет қаралды 154,039

Learn Coding

Learn Coding

3 жыл бұрын

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...!
#ArmstrongNumber
#LearnCoding
#ask4help
#armstrongprogram
#checkarmstrongornot
#JavaArmstrongProgram
#ArmstrongInJava
#programforarmstrongnumber
#ArmstrongOrNot
#JavaArmstrongProgram

Пікірлер: 183
@hrithiksamala1729
@hrithiksamala1729 2 жыл бұрын
The way your teaching java is really appreciable.👏 Thank you so much 😊
@ohmyadi
@ohmyadi Жыл бұрын
I hardly do comments but i have to say your teaching way is awesome, Im learning alot from your videos..... Thank you so much.
@chakradharpalavalasa7743
@chakradharpalavalasa7743 Жыл бұрын
very nice boss, i can say for 100% that no one in youtube has taught as simple as like you, thank you so much
@samdtaslimarif4687
@samdtaslimarif4687 Жыл бұрын
I agree 💯
@beastman4523
@beastman4523 Жыл бұрын
Yes you are right
@vinayakbadekar1024
@vinayakbadekar1024 Жыл бұрын
I liked the video very much and the line explaination with logic best teaching video seen till now
@Vikas_Chouhan.
@Vikas_Chouhan. Жыл бұрын
The way you teach is truly amazing and make so simple to understand Thank you sir ❤....!
@anishpoojari5169
@anishpoojari5169 2 жыл бұрын
today was my first day or first experienced in your KZbin channel and I like it most the way you teach sir it's an request to you keep it up and keep teaching us 😊😊
@mohammedarif9316
@mohammedarif9316 8 ай бұрын
Wow.... Kya Samjhaya apne! Very simple and understandable.
@SakshiSharma-ci4wr
@SakshiSharma-ci4wr Жыл бұрын
The "BEST" explanation ever💫
@mrtech6667
@mrtech6667 Жыл бұрын
You are done great work thank you so much for creating this video ☺️
@pakeducation6579
@pakeducation6579 11 ай бұрын
Thanks you sir your method is very easy and clear in short time ❤
@prabhachaudhary7055
@prabhachaudhary7055 5 ай бұрын
Thank you so much..after years of nt understanding this program..I just done it today👍🏻🙌
@namansharma9344
@namansharma9344 3 жыл бұрын
simple and nice logic sir thankyou so much
@whatsaappstatus6452
@whatsaappstatus6452 Жыл бұрын
Thanks bro, finally i understood this logic on your channel ❤️🔥
@giriprasadp1726
@giriprasadp1726 Жыл бұрын
sir great learning... great knowledge..... smooth understanding ....all the best
@samidhasharma5429
@samidhasharma5429 2 жыл бұрын
your paper pen work is OSM .thankyou sir.
@shubhkritsrivastava6121
@shubhkritsrivastava6121 Жыл бұрын
You teach programming the best 🙏🙏
@albatros21212
@albatros21212 Жыл бұрын
best teacher of programming
@Lets_Travel712
@Lets_Travel712 Жыл бұрын
Thank u sir . Ur teaching is very easy to learn....
@bhagyamanthale3080
@bhagyamanthale3080 Жыл бұрын
Thank you so much sir You are a life saver 🙏🙏
@e-teslaacademy1031
@e-teslaacademy1031 2 жыл бұрын
Explanation is great, thanks
@rajvardhanpatil.8066
@rajvardhanpatil.8066 Жыл бұрын
Milestone for beginners ❣️
@Rahulchoudhary-ho7si
@Rahulchoudhary-ho7si 2 жыл бұрын
simple and shandar logic
@Imrankhan-qb5cm
@Imrankhan-qb5cm Жыл бұрын
Nice explanation sir thank you.
@amanpawar2290
@amanpawar2290 2 жыл бұрын
bhut gajab ka logic he bhai 👌👌
@careerget24
@careerget24 Жыл бұрын
Sir aap ki vajah se me Java sikh paya hu
@ShivamSingh-vf3lq
@ShivamSingh-vf3lq Жыл бұрын
Best viedo sir Thank you u very much
@OmkarShinde-qk3ks
@OmkarShinde-qk3ks Жыл бұрын
Ek number explain kiya apne logic
@kundanshukla17
@kundanshukla17 2 ай бұрын
Bohat ache se samjhaya 👏🏻👏🏻👏🏻
@myengineering3219
@myengineering3219 2 жыл бұрын
Nice explanation
@gs-qj4tq
@gs-qj4tq 2 жыл бұрын
nice explanation ,sir.
@royalrajput5368
@royalrajput5368 2 жыл бұрын
Great 👍
@sakshamgamerz686
@sakshamgamerz686 2 ай бұрын
after While loop the n value will be =0 and we will compare the value 0 in if else. Thanks Sir 👍👍
@aloneff760
@aloneff760 2 жыл бұрын
Thks sir very helpfulll...
@arpancs
@arpancs 2 жыл бұрын
Woww amazing 👍
@AliHussain-un8wn
@AliHussain-un8wn 2 жыл бұрын
Sir aap bahot achha padhate ho
@aruram3121
@aruram3121 Жыл бұрын
I love your teaching style. The way you teach us is fantastic. The Armstrong number program you taught us in this video , is wrong concept. Please correct it.
@trendingshorts8092
@trendingshorts8092 Жыл бұрын
thank you so much sir
@muskankukkar7047
@muskankukkar7047 2 жыл бұрын
Thank you much sir....
@suryabhansinghrana5698
@suryabhansinghrana5698 Жыл бұрын
Wa yaar Bhai achee achee Sikh k jayege
@pankajborse7064
@pankajborse7064 2 жыл бұрын
but this logic is not applicable for more than 3 digital numbers but simple logic for three digitals...thank you so much
@shivenrana7193
@shivenrana7193 2 жыл бұрын
same bro
@pkhatua7964
@pkhatua7964 2 жыл бұрын
Great
@kainaatmakhani6550
@kainaatmakhani6550 2 жыл бұрын
Good job
@MAX-ym1pm
@MAX-ym1pm 2 жыл бұрын
I also tried my own sir
@MadhuSharma-du1dt
@MadhuSharma-du1dt 2 жыл бұрын
Thanks sir ji
@nazirali6227
@nazirali6227 Жыл бұрын
Thank u sir..
@manishimmanuel6543
@manishimmanuel6543 Жыл бұрын
SIR I LOVE TEACHING method aap kaha se sir
@Wollesa
@Wollesa Жыл бұрын
ek no. sir
@jayvardhandesai6940
@jayvardhandesai6940 2 жыл бұрын
thanks sir
@sayam964
@sayam964 3 жыл бұрын
Thanks
@mostofaomarfattharusho8080
@mostofaomarfattharusho8080 Жыл бұрын
Could you Make Algorithm series with Java
@X_tutorial
@X_tutorial 5 ай бұрын
Can we use math. Pow insted of multiplying it will be more easy
@RahulSharma-mh8sq
@RahulSharma-mh8sq Жыл бұрын
Great job brother 🎉
@gladeon-hb9iu
@gladeon-hb9iu 3 ай бұрын
thanku bhai
@nisithkhawas6558
@nisithkhawas6558 10 ай бұрын
how calculate to the power n Like 5^7 or 9^100 etc?
@rocking_star7880
@rocking_star7880 Жыл бұрын
Sir, can share code for strong number with range....
@pakeducation6579
@pakeducation6579 11 ай бұрын
Please sir make a video on roadmap for Artificial intelligence
@THECOMPETITORGUY
@THECOMPETITORGUY 5 ай бұрын
thanks
@anushavernekar9859
@anushavernekar9859 Жыл бұрын
bro make a vedio that is satisfied for all type of armstrong numbers
@chakradharpalavalasa7743
@chakradharpalavalasa7743 Жыл бұрын
pls do it for any number of digits
@priyankasaha4190
@priyankasaha4190 3 жыл бұрын
👍🏼👍🏼👍🏼👍🏼👍🏼👍🏼
@sheetalsharma1675
@sheetalsharma1675 Жыл бұрын
Suprr see upr pdate ho
@hasanchauosh7380
@hasanchauosh7380 4 ай бұрын
sir but user can input any length of digit..how can u say its lenth is 3 only eg:(rem*rem*rem)
@akshaygupta3822
@akshaygupta3822 Жыл бұрын
mast bhai
@abhishekgorshi9822
@abhishekgorshi9822 Жыл бұрын
sir please tell my mistake I want to check how many armstrongs are there between 151 and 200 import java.util.Scanner; class ams { public static void main(String[] args) { int re,x=0; for(int n=151; n151) { re=n%10; x=x+re*re*re; n=n/10; } if(x==n) { System.out.println(n); } else { System.out.println(" this number is not armstrong"); } } } }
@narayanheroff2344
@narayanheroff2344 4 ай бұрын
kya bath hai😊
@RishabhSingh-sw7uq
@RishabhSingh-sw7uq 2 жыл бұрын
What about 4,5,6....digit number.
@sankar430
@sankar430 Жыл бұрын
Dear sir , from 1to 9 all numbers are armstrong number but here this code is not aplicable for 1 to 9.
@MAX-ym1pm
@MAX-ym1pm 2 жыл бұрын
My code is applicable to every numbers
@futureworld1807
@futureworld1807 2 жыл бұрын
I understand what you wrote in this prog i write same but there have under line all variable i can't understand what is the prob? I show you image but in comment no option share image..Please hlp sir..
@futureworld1807
@futureworld1807 2 жыл бұрын
Aap ka har explanation easy to understand h...Mere liye samjh na bohat asan ho raha h...Keep it up sir, Mera prob solve kar dijiye samaj me nahi a raha kya kare...
@Sigma_Di4ry9
@Sigma_Di4ry9 2 жыл бұрын
@@futureworld1807 kya problem hai bolo?
@swethamahapatro09
@swethamahapatro09 Жыл бұрын
Sir.. 2 is an armstrong number but your code prints that it is not..
@booksreviews9282
@booksreviews9282 5 ай бұрын
sir but this program is only for 3 digit what if we have n digits in a number but like your explanation
@thecomdeykatta
@thecomdeykatta Жыл бұрын
Armstrong no in between 1 to 500 ka vdo kijiye
@devrajsrivastava7446
@devrajsrivastava7446 2 жыл бұрын
Finally got a video with 0 dislike
@manjunadhamanju1719
@manjunadhamanju1719 11 ай бұрын
For 4 digit number!?
@priyanshi_78
@priyanshi_78 Жыл бұрын
Sir apka koi app h kya jha app paid course krate h aur interview ki taiyari
@faizan2364
@faizan2364 4 ай бұрын
Bro agar no. Input liye he to kese pata chalega rem ko kitni bar multiple karna he( rem*rem*rem har program me 3 bar nahi kar skte na)
@suraj_Suraj
@suraj_Suraj Жыл бұрын
Check for Armstrong number (any digit number): kzbin.info/www/bejne/n325fqqrntiJisU
@manishnayak930
@manishnayak930 9 ай бұрын
love you bruhhhh
@naaz7847
@naaz7847 Жыл бұрын
sir but if we give any other digit no. except three ,then this logic is not working....means for 4,5,6 digit no. this logic is not working
@hukumchandrathod5540
@hukumchandrathod5540 Жыл бұрын
it is working
@gnsnoonekabhai9005
@gnsnoonekabhai9005 3 жыл бұрын
it's easy 👌
@LearnCodingOfficial
@LearnCodingOfficial 3 жыл бұрын
Please Share kr do 🙏🙏🙏
@Ashu_Kumar21
@Ashu_Kumar21 2 жыл бұрын
@@LearnCodingOfficial why don't you teach for n digits 😞 I recommend your channel to all my friend and now they said me that he didn't teach for n digits 😞😞😞 Please make a video for n digits
@camperbaaz2908
@camperbaaz2908 11 ай бұрын
sir 1634 Armstrong no hai ya nahi
@emrankhan5348
@emrankhan5348 2 жыл бұрын
This logic is not applicable for more than 3 digital numbers. plz provide more than 3 digital number
@chaitalinandi35
@chaitalinandi35 Жыл бұрын
Yes u r right
@Codehelper786
@Codehelper786 2 ай бұрын
This program only work for 3 digit armstrong number not for 4 or 5 digit amstrong number
@mohilalkhandait8301
@mohilalkhandait8301 2 жыл бұрын
Sir python program bhi skate.
@Giriagroandfashion
@Giriagroandfashion 10 ай бұрын
What if the User Enters 4 digit number
@lokeshwarinandeshwar2628
@lokeshwarinandeshwar2628 Ай бұрын
Sir This only works for 3 digits
@mahesh1simhadri
@mahesh1simhadri Жыл бұрын
what if I enter a 4 digit number does it still work?
@chaitalinandi35
@chaitalinandi35 Жыл бұрын
No not working
@abdulrahim7763
@abdulrahim7763 5 ай бұрын
tried without while loop..this is working fine for me (give any number within the limit of integer data type) Scanner sc=new Scanner(System.in); System.out.println("Enter any number to find out if it is a Armstrong number or not"); int input=sc.nextInt(); String s=""; String count=s.valueOf(input); int input_size = count.length(); int digit; double Armstrong=0; double result=0; int actual=input; if(input>0) { for(int i=1;i
@pavankumarbingi2551
@pavankumarbingi2551 Жыл бұрын
Hi ,it's working only for for 3digits numbers...
@user-ov5lf4ty8e
@user-ov5lf4ty8e 11 ай бұрын
yes bhai
@anything-lr4fc
@anything-lr4fc 2 ай бұрын
what if i enter 6756 as input,,code crashes, PLEASE do some thinking before coding
@schooldays5817
@schooldays5817 3 жыл бұрын
Bhai aplet ka video lovona
@karthikhs6054
@karthikhs6054 Жыл бұрын
Why did you multiply three times, what ur user enter 4 digit number
@RootSphereEnglish
@RootSphereEnglish 6 ай бұрын
"1634 "is also a Amstrong number this code is not working for that input.
@tamannasarkar3065
@tamannasarkar3065 7 ай бұрын
But what if the number is of more than 3 digits??
@murliengineering6130
@murliengineering6130 Жыл бұрын
Is we take a 9474 it's not working because that power is 9^4+4^4+7^4+4^4=9474
@SwatiSingh-dw7yw
@SwatiSingh-dw7yw 10 ай бұрын
Variable could be A b c so as to make it clear.. else for me it's just a mess.
@davidbutler2391
@davidbutler2391 Жыл бұрын
what about 1.5*1.5*1.5??
@unikam3421
@unikam3421 6 күн бұрын
it doesn't work if we have any 4 5 digit number
@pawelkumar3185
@pawelkumar3185 9 ай бұрын
this code only used in 3 digit number but what about others ?
@amolnagrale
@amolnagrale 2 жыл бұрын
Sir ...isme 10 se hi kyu divide kiya hai
Java program to find Square Root of a Number | Learn Coding
5:54
Learn Coding
Рет қаралды 42 М.
Java program to check Number is Palindrome or Not | Learn Coding
12:18
ИРИНА КАЙРАТОВНА - АЙДАХАР (БЕКА) [MV]
02:51
ГОСТ ENTERTAINMENT
Рет қаралды 11 МЛН
아이스크림으로 체감되는 요즘 물가
00:16
진영민yeongmin
Рет қаралды 4,9 МЛН
Tom & Jerry !! 😂😂
00:59
Tibo InShape
Рет қаралды 64 МЛН
Program To Check for Armstrong Number in Java by Deepak
16:11
Smart Programming
Рет қаралды 319 М.
C Program to Check a Number is Armstrong or Not | Learn Coding
11:22
100+ Linux Things you Need to Know
12:23
Fireship
Рет қаралды 148 М.
5.16 Armstrong Number in Java
6:01
Telusko
Рет қаралды 304 М.
Solve Any Pattern Question With This Trick!
57:20
Kunal Kushwaha
Рет қаралды 2,3 МЛН
Java program to check Number is Prime or Not | Learn Coding
10:17
Learn Coding
Рет қаралды 238 М.
Armstrong Number in Java - In Hindi
22:38
codeitup
Рет қаралды 43 М.
Arrays in Java (Hindi) | What is array? Explain with Syntax & Example
17:08
Local, Static and Instance variables in Java | Learn Coding
13:04
Learn Coding
Рет қаралды 446 М.
ИРИНА КАЙРАТОВНА - АЙДАХАР (БЕКА) [MV]
02:51
ГОСТ ENTERTAINMENT
Рет қаралды 11 МЛН