The C++ code shown in Figure 6-45 should display “Illinois” when the state code is 1, “Kentucky” when it’s 2, “New Hampshire” when it’s 3, “Vermont” when it’s 4, and “Massachusetts” when it’s 5. If the state code is not 1 through 5, the code should display the “Unknown state” message. Correct the errors in the code.
We need at least 10 more requests to produce the solution.
0 / 10 have requested this problem solution
The more requests, the faster the answer.