Skip to content
If/else: Ascending digits
Profile icon
pole55

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.

You are viewing a single comment. View All
Profile icon
aCiReB1721103

:-E)