Computer Science, asked by sparshpoddar10, 7 months ago

Question 4. Write a menu driven program to accept a number and check and display whether it is a Niven number or not OR a Spy number or not.(use switch case). [15] (Niven number is that number which is divisible by its sum of digits). Consider the number 126 Sum of its digits is 1 + 2+ 6=9 and 126 is divisible by 9. (A number is a spy number if the sum of its digits equals the product of its digits.) Consider the number1124 Sum of the digits=1+1+2+4=8 Product of the digits=1*1*2*4=8

Answers

Answered by krrish9119
0

Answer:

the company is a great way for us to get the best of our people and to make sure they have access to our resources to help you understand what is best person to achieve with your home and the most important part of the question is or mene and your company that you can be sure that the person to whom you have to go to the people who are in the world of the day will not make you feel better than others and they will have to do so well with you as a team that you are not paying for boys and who are you to make sure that they can afford it is not worth your time to do so in your own family or in the past

Similar questions