mercredi 7 février 2018

program to find next highest number for the given number which should contains only the digits 2 and 7

program to find next highest number for the given number which should contains only the digits 2 and 7 **

example: 
a) Input is 2 Output is 7

b) Input is 22 Output is 27

c) Input is 423 Output is 722

**

Aucun commentaire:

Enregistrer un commentaire