I have a set of code where user can chose between 1 to 5 input, and the program will do some calculation for the output. I use array to store a default value based on the us