Write a program to fetch state and marital status of 5


Write a program to fetch state and marital status of 5 users.

Use NESTED SELECT..CASE to find out the number of people who belong to each of the regions below.

If the user is from "CA", "NV", "AR", "WA",
count them towards westernregion


If the user is from "NY", "MA", "FL", display
count them towards eastern region
If the user is from "TX", "AL", "GA", display
count them towards southern region

ELSE display " You might be from Midwestern states"


Within each region, count the number of people who are married, single, divorced and separated.

Make sure you test the program intensively before submitting it.

Request for Solution File

Ask an Expert for Answer!!
Basic Computer Science: Write a program to fetch state and marital status of 5
Reference No:- TGS0661445

Expected delivery within 24 Hours