Code-Review

Please review my code
Could we use swith instead? It will be easier to read