I have a radio button list of'a' has value of 1, b=2, c=3, d=4, e=5If 'a' is selected, I want its value of 1 to be assigned to X.If 'b' is selected, I want its value of 2 to be assigned to X.How do I code the above usingi) IF syntaxii) the switch { case syntax?Thanks.