/*Write an aaplet program that User three text boxes, two are used to
take numeric values and one is for displaying
ans according to the operation.*/
import java.applet.*;
import java.awt.*;
import java.awt.event.*;
//<applet code=additiondemo width=300 height=200></applet>
public class additiondemo extends Applet implements ActionListener
{
Label lblfirstno,lblsecondno,lblans;
TextField txtfirstno,txtsecondno,txtans;
Button badd,bmul,bsub,bdiv;
public void init()
{
lblfirstno=new Label("First No");
lblsecondno=new Label("Second No");
lblans=new Label("Answer");
txtfirstno=new TextField();
txtsecondno=new TextField();
txtans=new TextField();