Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

MGIS 2320 - 24 Write a console application to ask for two numbers and display the result only if the symbol input and the word

image text in transcribed
MGIS 2320 - 24 Write a console application to ask for two numbers and display the result only if the symbol input and the word input match as follows: Example Enter x: 4 Enter y: 2 Enter either a symbol or a word (+,-./, add, sub, mul, div): + To confirm, if you entered a symbol, this time enter its matching word (or vice versa): add 4+2 = 6 Example Enter x: 4 Enter y: 2 Enter either a symbol or a word (+,-./, add, sub, mul, div): add To confirm, If you entered a symbol, this time enter its matching word (or vice versa): + 4+2 = 6 I Example Enter x: 4 Enter y: 2 Enter either a symbol or a word (,./add, sub,mul, div): + To confirm, If you entered a symbol, this time enter its matching word (or vice versa): sub Mismatched operations! Requirements 1. All the values above are only examples. 2. Use || and && in the program. 3. If the two inputs are different (es and sub, divand- or + and /, etc.), then do not display the result, but display an error message eg. "Mismatched operations." How to submit 1 Write your full name and C# as a comment at the top of your source file (... Rrogram.cs). To locate the source file, right-click at the tab of the source file in Visual Studio and click "Open Containing Folder. Copy Contoh 2. Submit the cs file on Blackboard. Be sure that it is the file (NOT a project or solution file). Otherwise, your grade will be a zero Page 1 of 1 278 words % Focus 134%

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Data And Databases

Authors: Jeff Mapua

1st Edition

1978502257, 978-1978502253

More Books

Students also viewed these Databases questions

Question

How is operations performance judged at a societal level? Plo8

Answered: 1 week ago

Question

a. Do team members trust each other?

Answered: 1 week ago

Question

How wide are Salary Structure Ranges?

Answered: 1 week ago