Question: Using the switch statement, write a C# program that - Asks the user to input an integer If the integer is equal to 2, then

 Using the switch statement, write a C# program that - Asks

Using the switch statement, write a C# program that - Asks the user to input an integer If the integer is equal to 2, then output a message "your input is 2". - If the integer is equal to 4, then output a message "your input is 4". If the integer is equal to 8, then output a message "your input is 8". - Otherwise, output a message "your input is not what we want" -Using the if.. else if.. else if else, write a C# program that - Asks the user to input two integers If both of them are greater than zero, then output their sum If only one integer is greater than zero, then output their difference Otherwise, output a message "your input is wrong" Using the do while statement, write a C# program that Asks the user to input an integer - Output a table listed below: number square 0 0 1 4 9 16 25 36 49 64 81 100 4 6 10 Last modified: Wednesday, February 7, 2018, 10:33 AM

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!