Niven Number in Java | ICSE Computer Applications 2016
ฝัง
- เผยแพร่เมื่อ 19 ก.ย. 2024
- Niven Number in Java | ICSE Computer Applications 2016
Write a program to accept a number and check and display whether it is a Niven number or not. Niven number is that number which is divisible by its sum of digits. Example: 126 is a Niven number.
#number #java #icse #computerapplications