Computer Science, asked by smritikanadev143, 1 month ago

Write a program to enter a number. Use a function int niven (int) to receive the number.
The function return 1 if the number is niven number otherwise 0.
(N.B.: Niven number is that number which is divisible by its sum of digits).
Sample input: 126
Sum of its digits is 1+2+6 = 9 and 126 is divisible by 9.
Pls Help me out fast ASAP

Answers

Answered by gurumuthu5709
0

Answer:

Dell fijhxjdjhxbdissdskshddldisgsKalkahanskggdiyjekshxnckdksvbdkdkfnaklajsdqklqbBznxcvnxkieyrkdjBx bexhh

Similar questions