Menu

[solved] – Question 74965

Write a function, smallest, which given positive integer n and a positive integer key returns the smallest digit in n greater than key. Your function should also work if there is no digit in n smaller than key.

Expert Answer


OR


Leave a Reply

Your email address will not be published. Required fields are marked *