Question: Console Application, Program to Add, Subtract, Multiply, Divide, Mod 2 numbers. In this program, you are going to create a C# Console Application that will

 Console Application, Program to Add, Subtract, Multiply, Divide, Mod 2 numbers.

Console Application, Program to Add, Subtract, Multiply, Divide, Mod 2 numbers. In this program, you are going to create a C# Console Application that will ask the user to input a number (decimal). Then when they click enter they will be asked for a second number. Your program will then add both numbers, subtract them, multiply, divide and mod both numbers displaying the outputs in a neatly formatted way like this: If they enter a 0 as the second number then inform them that you cannot perform a division by zero (nor can you perform modulo by zero.) Ask them if they would like to input more numbers. If they say 'y' then the screen will be cleared and they will again be asked for two numbers in the same fashion as before. Otherwise the program will end. Don't worry about any error checking. Assume proper input

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!