Disarium Number using Java Program | Taking Input from User | Java Program | @CodeWithAvi

Pubblicato il: 19 novembre 2022
sul canale di: CodeWithAvi
137
2

In this video we are going to learn how we can take inputs from the user as a Number and evaluate it and find if it is a Spy Number or not and print it to the user using Java Program.

*************************
Disarium Number: A number is a Disarium number if the sum of the digits powered with their respective positions is equal to the number itself.

For example:

89 is a Disarium number.

89: 8^1+9^2=89

175 is a Disarium number.

175: 1^1 +7^2+5^3=175

45 is NOT a Disarium number

45: 4^1+5^2 = 29.
*************************

Hope you all Like this Video

Please Like... Share... Subscribe


In questa pagina del sito puoi guardare il video online Disarium Number using Java Program | Taking Input from User | Java Program | @CodeWithAvi della durata di ore minuti seconda in buona qualità , che l'utente ha caricato CodeWithAvi 19 novembre 2022, condividi il link con amici e conoscenti, su youtube questo video è già stato visto 137 volte e gli è piaciuto 2 spettatori. Buona visione!