单项选择题

int a=3,b=2,c=1; if(a>b>c)a=b; else a=c; 则a的值为()。

A.2
B.3
C.1
D.0