+ 2

Can anyone explain this output.actually I'm enable to understand this question.

A positive integer is called a "PDS Number" if the product of its digits is divisible by the sum of its digits. Let PDS(N) be the N-th PDS Number (indexed from 1), you are requested to calculate it. Input There are several test cases (at most 10000), each formed as follows: The first and only line contains a positive integer N (N ≤ 109). The input is ended by N = 0. Output For each test case, output on a line the respective PDS(N) calculated. Example Input: 1 20 0 Output: 1 66

18th Sep 2019, 2:19 AM
Maninder $ingh
Maninder $ingh - avatar
7 Respuestas
+ 2
What input returns 66
18th Sep 2019, 2:34 AM
Qudusayo
Qudusayo - avatar
+ 2
Maninder $ingh explain how 1 turn 66
18th Sep 2019, 2:52 AM
Qudusayo
Qudusayo - avatar
+ 2
Maninder $ingh ok then the source
18th Sep 2019, 3:00 AM
Qudusayo
Qudusayo - avatar
+ 1
Qudusayo output is 1 and 66.
18th Sep 2019, 2:35 AM
Maninder $ingh
Maninder $ingh - avatar
+ 1
Qudusayo am also confuse in this question.🤣🤣🤣😂
18th Sep 2019, 2:53 AM
Maninder $ingh
Maninder $ingh - avatar
+ 1
wet water ))) i think you are right.
19th Sep 2019, 2:12 AM
Maninder $ingh
Maninder $ingh - avatar