Input a number from the user, count the total number of digits present in the number, divide it into two half and print the left side number and the right side number
Answers
Answered by
1
Answer:
Given a number N which may be 10^5 digits long, the task is to count all the digits in N which divide N. Divisibility by 0 is not allowed. If any digit in N which is repeated divides N, then all repetitions of that digit should be counted i. e., N = 122324, here 2 divides N and it appears 3 times. So count for digit 2 will be 3.
Explanation:
plz mark me as best ans plz plz i requst u
Attachments:
Similar questions