Magic Number in Java | ICSE Computer | Important Program in java

Publicado em: 23 Dezembro 2019
no canal de: Amplify Learning - with Alok
46,969
1.3k

A number is said to be a Magic number if the sum of its digits are calculated till a single digit is obtained by recursively adding the sum of its digits.
If the single digit comes to be 1 then the number is a magic number.

Example:
199 is a magic number as 1+9+9=19 but 19 is not a single digit number so 1+9=10 and then 1+0=1 which is a single digit number and also 1.Hence it is a magic number.

**************************************************
You can follow us here,

Twitter :-   / alokmaurya95  
Instagram :-   / alokmaurya95  
Facebook :-   / alokmauryaofficial  

Check out our website :- www.amplifylearning.co.in
Email us at :- [email protected]

****************************************************
Join our youtube family, lets grow together!
Subscribe to Amplify Learning
   / amplifylearning  

#AmplifyLearning #Computer


Nesta página do site você pode assistir ao vídeo on-line Magic Number in Java | ICSE Computer | Important Program in java duração hora minuto segundo em boa qualidade , que foi baixado pelo usuário Amplify Learning - with Alok 23 Dezembro 2019, compartilhe o link com seus amigos e conhecidos, no youtube este vídeo já foi visto 46,969 vezes e gostou 1.3 mil espectadores. Boa visualização!