if x is greater then y, then find the smallest number made by x, y and 0
Answers
Answered by
130
Answer:
nput: X = 10, Y = 5
Output: 14
Explanation:
14 is the smallest number greater than 10 whose sum of digits (1+4 = 5) is divisible by 5.
Input: X = 5923, Y = 13
Output: 5939
Step-by-step explanation:
Similar questions