单项选择题

下列程序执行后,变量X的值为( )。
Dim f1, b, c, d As Single
Dim X As Single
f1=10
b=30
C=400
If b>f1 Then
d=f1:f1=b:b=d
EndIf
If b>e Then
x=b
ElseIf f1>c Then
x=c
Else
x=a
EndIf

A.10
B.30
C.400
D.430