# input one single character
print("enter any character: ") 
c = read(stdin,Char)
print("\n")
# selection ladder
if c in '0':'9'
   println("digit")
elseif c in  'A':'Z'
   println("uppercase letter")
elseif c in  'a':'z'
   println("lowercase letter")
else
   println("special character")
end