0

I had been code so far for the class of Calculator program (attacked zip file)

Here is my code below:**Please Help!!!!**

```
namespace Calculator
{
public class Calculator
{
public class Calculator
{
public decimal currentValue;
public decimal displayValue;
public decimal btnNumber;
public decimal newValue;
public string Add;
public string Subtract;
public string Multiply;
public string Divide;
public string Squaroot;
public string Reciprocal;
public decimal Equals;
public Calculator()
{
}
public Calculator(string btnSign, decimal currentValue, decimal newValue, decimal displayValue)
{
this.newValue = newValue;
this.btnSign = btnSign;
this.currentValue = currentValue;
this.displayValue = displayValue;
}
public string btnSign
{
get
{
return btnSign;
}
set
{
btnSign = value;
}
}
}
public decimal btnNumber
{
get
{
return btnNumber;
}
set
{
btnNumber = value;
}
}
public decimal newValue
{
get
{
return newValue;
}
set
{
newValue = value;
}
}
public decimal CurrentValue
{
get
{
return CurrentValue;
}
set
{
CurrentValue = value;
}
}
public static int Add(int newValue, int currentValue)
{
return newValue + currentValue;
}
public static int Subtract(int newValue, int currentValue)
{
return newValue + currentValue;
}
public static int Multiply(int newValue, int currentValue)
{
return newValue + currentValue;
}
public static int Divide(int newValue, int currentValue)
{
return newValue + currentValue;
}
public decimal displayValue
{
get
{
return displayValue;
}
set
{
displayValue = value;
}
}
public static decimal Equals(decimal currentValue, string btnSign, decimal newValue, decimal displayValue)
{
if (btnSign == "+")
{
displayValue = newValue + currentValue;
}
else if (btnSign == "-")
{
displayValue = newValue - currentValue;
}
else if (btnSign == "*")
{
displayValue = newValue * currentValue;
}
else if (btnSign == "/")
{
displayValue = newValue / currentValue;
}
else if (btnSign == "Sqrt")
{
displayValue = currentValue * currentValue;
}
else if (btnSign == "1/x")
{
displayValue = 1 / currentValue;
}
return displayValue;
}
public static string GetsDisplayText(decimal displayValue)
{
return displayValue.ToString();
}
}
}
```