Persistent Systems Interview Question

Write a program to map 1-sun, 2-mon... Without using switch case and if-else loops.(L2)