Write a C# program using a switch statement that switches on the variable name . If the name is William , print a message that says Hello Bill . If the name is Henry , print a message that says Hello...


Write a C# program using a
switch
 statement that switches on the variable
name
. If the name is
William
, print a message that says
Hello Bill
. If the name is
Henry
, print a message that says
Hello Harry
. If the name is
Barbara
, print a message that says
Hello Barb
. If the name is
Sejin
, print a message that says
Contratulations Sejin

!.On any other name, print a message that says
Hello x
, where
x

is the person’s name.



Jun 08, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here