Answer:
X = 100 and Y = 10
Step-by-step explanation:
Let's do the example, where input = 28398
Step 1: Divide the input by 100. Call the quotient and ignore the remainder.
28398/100 = 283.98, quotient = 283, remainder = 89
Step 2: Now divide by 10. Ignore the quotient and call the remainder
283/10 = 28.3, quotient = 28, remainder = 3
Step 3: Return 3