OpenGenus/cosmos

Next larger number with same digits

Open

#714 opened on Oct 6, 2017

View on GitHub
 (9 comments) (0 reactions) (0 assignees)C++ (3,724 forks)batch import
Hacktoberfestadd codenew algorithm

Repository metrics

Stars
 (13,462 stars)
PR merge metrics
 (No merged PRs in 30d)

Description

The program must take a number as input and give the next larger number with same digits as output For eg :- If input is 697 output is 769 If input is 5674 output is 5746

Contributor guide