Xtra Care Hospital Bill Generator
{
String Name = t1.getText();
int rate=0;
int billamount;
int n= Integer.parseInt(t2.getText());
if (rb1.isSelected())
r=300;
else if (rb2.isSelected())
r=4000;
else if (rb3.isSelected())
r=2000;
else if (rb4.isSelected())
r=1000;
ba=n*r;
t3.setText(""+ba);
}
Comments
Post a Comment