Question: Step 3: Type and Submit Program 1) Use https://dotnetfiddle.net/or Visual Stuido. Create a Console application in C# called IfExample 2) Inside the Main method, type

 Step 3: Type and Submit Program 1) Use https://dotnetfiddle.net/or Visual Stuido.Create a Console application in C\# called IfExample 2) Inside the Main

Step 3: Type and Submit Program 1) Use https://dotnetfiddle.net/or Visual Stuido. Create a Console application in C\# called IfExample 2) Inside the Main method, type in the following code as written here 3) Run the program as written. When prompted, enter MIS and observe what happens. Make sure you understand what's happening on each line before moving forward. What is your major?MIS Management Information Systems 4) Run the program again. This time, when prompted, enter ACCT and observe what happens. Make sure you understand what's happening on each line before moving forward. 5) Change the code from an if statement if-else. For majors that are not MIS, you should display "You are not an MIS major". Re-run the program (start without debugging). Now, when you enter ACCT, the following should be displayed. What is your major?ACCT You are not an MIS major 7) Change the code. The following changes should still be inside the Main method and added underneath your ifelse statement. - Ask the user to enter their first name. - Read their response into a variable called firstName - Ask the user to enter their last name. - Read their response into a variable called lastName - Display a message that says Thank You and includes their first and last name Here are some sample runs. Example \#1 What is your major?IB You are not an MIS major What is your first name?Bob What is your last name?Smith Thank you, Bob Smith! Example \#2 What is your major?MIS Management Information Systems What is your first name?Kate What is your last name?Jones Thank you, Kate Jones

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!