Niven Number in Java

Channel:
Subscribers:
1,550
Published on ● Video Link: https://www.youtube.com/watch?v=TKfCZG4gvXA



Duration: 2:50
4 views
0


Niven Number in Java

In this tutorial, I have shown how to write a Java program to check whether a given number is a Niven number or not.

A Niven number is an integer that is divisible by the sum of its digits. For example, consider an integer 126.
Sum of its digits = 1 + 2 + 6 = 9
126 is divisible by 9. So, 126 is a Niven number.

#nivennumber #java #icse #computerapplications







Tags:
robin sir
niven number
java
computer applications
class 10
icse