Question
Write a program in c# that acts as a calculator for integer numbers. The program should... Allow the user to add, subtract, multiply or divide
Write a program in c# that acts as a calculator for integer numbers. The program should... Allow the user to add, subtract, multiply or divide two integer values entered by the user Allow the user to perform as many of these arithmetic operations as they wish. This means the user should be able to perform more than one arithmetic operation. The user should be able to exit the program. Should not crash if the user attempts to divide by zero. While you must protect against division by zero, you do not need to protect against the user entering an invalid numerical value (e.g., entering "boom" for the first number.) We'll learn how to solve invalid input later.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started