A simple calculator (Console Application) C#

1. Make a console application of a calculator that does simple addition, subtraction, multiplication, and division. Enter any number in the console at runtime  Choose any operator from +, -, * or / and enter it  Enter another number  When you press Enter, the operations are ran  Only allow numbers as operands  Only allow the choice of valid operators: +, -, *, and /  Does not allow divide by zero This program should allow the user to either continue or quit after each operation. That is, the program should not crash or quit on its own after an operation. In the second part, floating-point operations are required.
Powered by