if (this->RadioButton1->Checked)
{
c=a+b;
}
if (this->RadioButton2->Checked)
{
c=a-b;
}
if (this->RadioButton3->Checked)
{
c=a*b;
}
if (this->RadioButton4->Checked)
{
if (b==0)
{
ShowMessage("Devide by 0 is not allow");
}
else
{
c=a/b;
}
}
this->Label1->Caption=c;
}