Question: A user will enter their zip code in a program. Should the zip code be one of 70803, 70805, or 70810, then it is processed
A user will enter their zip code in a program. Should the zip code be one of 70803, 70805, or 70810, then it is processed in one way, for 70806 and 70801 another way, and a third way for all other zip codes. Which of the following C#flow control structures would be most suitable for this problem? Select one: a while loop b. foreach loop c. switch structure d. If structure edo loop f.for loop
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
