Share your repls and programming experiences

← Back to all posts
If/else: Ascending digits
pole55 (196)

Given a three-digit integer X consisting of three different digits, print "YES" if its three digits are going in an ascending order from left to right and print "NO" otherwise.