Communication Skills

You might also like

Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 2

Name: Isse Hussein Jama ID:134514

Int firstvalue, secondvalue, sum;

Firstvalue = Convert.ToInt32(txtfirstvalue.Text);

Secondvalue = Convert.ToInt32(txtsecondvalu.Text);

Sum = first value + secondvalue;

MessageBox.Show(“the adiition is :” + sum );

Private void btnsub_Click(object sender, EventArgs e)

Int fristvalue, secondvalue, sub;

Firstvalue = Convert.ToInt32(txtfirstvalue.Text);

Secondvalue = Convert.ToInt32(txtsecondvalu.Text);

Sub = firsttvalue – secondvalue;

MessageBox.Show(“the substracction is :” + sub);

Private void btnmulti_Click(object sender, EventArgs e)

Int firstvalue, secondvalue, mul;

Firstvalue = Convert.ToInt32(txtfristvalue.Text);

Secondvalue = Convert.ToInt32(txtsecondvalu.Text);

Mul = fristvalue * secondvalue;

MessageBox.Show(“the multiplication is:” + mul );

Private void btndiv_Click(object sender, EventArgs e)


{

Double firstvalue, secondvalue, div;

Firstvalue = Convert.ToDouble(txtfristvalue.Text);

Secondvalu = double.Parse(txtsecondvalu.Text);

Div = firstvalue / secondvalu;

MessageBox.Show(“the division is : “ + div);

You might also like