Back to Browse

Disarium Number Program using Java (BlueJ) in Hindi

242 views
Jan 24, 2020
16:43

Write a Program in Java to input a number and check whether it is a Disarium Number or not. Note: A number will be called DISARIUM if sum of its digits powered with their respective position is equal to the original number. For example 135 is a DISARIUM (Workings 11+32+53 = 135, some other DISARIUM are 89, 175, 518 etc) Sample: Enter a Number : 135 135 is a Disarium Number. Enter a Number : 219 219 is not a Disarium Number. Enter a Number : 89 89 is a Disarium Number.

Download

0 formats

No download links available.

Disarium Number Program using Java (BlueJ) in Hindi | NatokHD