Get Mystery Box with random crypto!

1) To find the given char is digt or upper case or lower case | Ec learn

1) To find the given char is digt or upper case or lower case or special character
Hint : using if condition