Find the smallest number greater than b by interchanging the digits of a
Answers
Answered by
0
Step-by-step explanation:
Given a number n, find the smallest number that has same set of digits as n and is greater than n. If n is the greatest possible number with its set of digits, then print “not possible”.
Similar questions
Math,
5 months ago
Science,
5 months ago
CBSE BOARD X,
5 months ago
Math,
10 months ago
Chemistry,
1 year ago