Math, asked by shwetas5851, 10 months ago

Find the smallest number greater than b by interchanging the digits of a

Answers

Answered by ritik77777
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