Se l'input è numerico visto che usi %d devi usare 1 2 3 nella switch senza apici