Infatti ... Usa un int per leggere il numero e confrontalo...