67 014
Assignments Done
99,4%
Successfully Done
In November 2018

Answer to Question #74919 in C++ for Anna

Question #74919
Write a function, smallest, which given positive integer n and a positive integer key returns the smallest digit in n greater than key. For example if n is 8150 and key is 3, the function returns 5. Your function should also work if there is no digit in n smaller than key.
Expert's answer
Dear Anna, your question requires a lot of work, which neither of our experts is ready to perform for free. We advise you to convert it to a fully qualified order and we will try to help you. Please click the link below to proceed: Submit order

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be first!

Leave a comment

Ask Your question

Submit
Privacy policy Terms and Conditions