Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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 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
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