Skip to content
← Back to Community
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.

Voters
Profile icon
HenryTrochez-Ca
Profile icon
DanSayda
Profile icon
PawaretKomsakor
Profile icon
VenkateshVADDEP
Profile icon
HRISHITAGHOSH
Profile icon
ShenChengWeng
Profile icon
JulioCesar324
Profile icon
tomsfy
Profile icon
hongjuan
Profile icon
pole55
Comments
hotnewtop
Profile icon
aCiReB1721103

:-E)