I am completely new here and hopefully my programming vocabulary is up to the task of explaining what I am about to ask.
I want to create a program where a code is input by the user such as "HR400" which corresponds to another number such as 12.5, that number will then be stored in a string. I have around 200 short codes which correspond with other numbers. What would be the best way to go about doing this? You could just write 200 lines of if statements but that doesnt feel right, and I will be relating 6 short codes to numbers which will then be stored in 6 seperate strings to be displayed later.