Hey so I need help with a script that i need to make for my class and i cant figure out how to do it...

I need to program a calculator of wind direction where each wind direction is assigned a...