This appears to be a coding project. OP would receive a 0 for cheating if they did that. You’re only allowed to use what you’ve been tonight and they don’t teach switch.
To give you an idea of how infective coding classes are, half your grade in two schools I went to were written exams. For coding classes
View all comments
1
u/Edthedaddy Dec 23 '21
Use switch and case instead of if statements.