Situation:
Q1. Select one question with answers A, B, C, D
Q2. integer or hidden question, calculate using conditional statement: if(selected(${Q1},'A'),1,10) OR if(selected(${Q1},'B'),3,10)
giving points in Q2 depending on the response in Q1
A=1
B=2
C,D =10
How to combine this two conditional statement in one function?