Professional Documents
Culture Documents
GD and E
GD and E
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
if (oprt == "+")
lblDisplayTotal.Text = (num1 + num2).ToString();
else if (oprt == "-")
lblDisplayTotal.Text = (num1 - num2).ToString();
else if (oprt == "*")
lblDisplayTotal.Text = (num1 * num2).ToString();
else if (oprt == "/")
lblDisplayTotal.Text = (num1 / num2).ToString();
else
lblDisplayTotal.Text = "No operator Selected";
}
}
}
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
ps: dalawa po ginamit ko na class nag error po kase pag isa di ko po sure if isa
lang po ba dapat