Hello I am doing a calculator program in ASP.NET. I am almost done with the program but there is just one problem. The calculator works correctly with entering a number, clicking the operation, and entering another number however when I click the equals
sign it doesn't give the answer. I've looked over the code and can't seem to find the flaw. Could somebody please help.
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
namespace User_Control_Assignment
{
public partial class User_Control : System.Web.UI.UserControl
{
int addition1,subtraction1,division1,multiplication1,result;
int choice;
protected void Page_Load(object sender, EventArgs e)
{
}
protected void Btn1_Click(object sender, EventArgs e)
{
TextBoxAnswer.Text = TextBox ...
Go to the complete details ...