Pergunta de entrevista da empresa Citi

How can I replace many if-else statements checking string equality with cleaner code, without using If or Switch statements. Write the code.