Armstrong Number Using Iteration + Recursion | ISC Java Program Blue J

preview_player
Показать описание
Tutorial of Java Program for Armstrong Number/ ArmNum
Java Program for finding if a number is Armstrong number or not. Eg. 153

Time-Code:
0:00 : Introduction
0:37 : Armstrong Number using Iteration
6:14 : Armstrong Number using Recursion
10:00 : Running the program to check output of Armnum

Keep in Mind:
2. last digit: n%10.
3. except the last digit: n/10
4. Recursion occurs if you keep calling the method.
5. l= Integer. toString(n).length(); to find length of int n

#java #armstrong #armnum

If something helped you, LIKE , SUBSCRIBE & SHARE

Software: Adobe, Obs

Support/Connect/Friend me: @thecgr
Рекомендации по теме
visit shbcf.ru