Are you sure you're reading the assignment correctly? If-else is definitely the way to go here. If you are indeed required to write using a switch statement, you have a lot of copy-pasting in your...