var a1,a2,a3,a4,a5 : double ;
s:string;
begin
a1:= strtofloat(trim(edit1.Text ));
a2:=strtofloat (trim(edit2.Text ));
a3:=strtofloat (trim(edit3.Text ));
a4:=strtofloat (trim(edit4.Text ));
try
if RadioButton1.Checked=true then
a5:=((a1 * 2) / a3*a4+a2)*1.1
s:=floattostr(a5) ;
showmessage(s);
喵喵时光机
茅侃侃
蛊毒传说
相关分类