0
C# question 3 number operator
Hi guys I need code for this equation in console a+b-c=x example 5+6-2= 9 ââââââ Enter first number : Select a operator â-, + , * , / ?â Enter second number: Select a operator â-, + , * , / ?â Enter third number: Answer: a+b*c = x
5 RĂ©ponses
+ 1
Just ask them via a string.
string firstOperator = "";
firstOperator = Console.ReadLine();
Then use that variable to do the math.
0
i want write code for calculator in console and user can choose 3 numbers and 2 operator and code give answer to user for exempel 2+4-2= 4
0
i maked with 2 numbers but want make with 3 numbers . u can watch my code bits
0
That work đThank youđ€Č