i think it will give compilation error as there is period after end-if.
hence next else will be wrong. same way after perform c.
if code is somewhat llike only one period after perform D then i think answer will be 3.
i.e. a=2 then it will come to next if part and then if b=2 then it will cme to else part and execute D.
ayyappa_22523 can you please check the period, where it should be exactly.