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

Assignment Help Basic Computer Science
Reference no: EM13322775

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.

Reference no: EM13322775

Questions Cloud

What is the pendulums period for small angle oscillations : A solid disk (r=0.20 m, M=0.50 kg) is suspended fro the end of an L=0.30m long rod (m=0.30 kg, cross-sectional area of 2.0 cm^2). WHAT IS THE PENDULUM'S PERIOD FOR SMALL ANGLE OSCILLATIONS
Define how to generate electricity with a inline turbine : Got a dam with a 22m damwall with a 200mm valve at the bottom. The waterlevel is 20m. If I connect a cone type of reducer to reduce the outlet to say 50mm and put the turbine somewhere on the line,
Review the car-caravan analogy : Review the car-caravan analogy
Determine the allowed energies for the system : A particle of mass m is in an infinite square well of width L. determine the allowed energies for the system
Write a program to fetch state and marital status of 5 users : Write a program to fetch state and marital status of 5 users.
Evaluate the characteristics of the titration curve : Determine the following characteristics of the titration curve for 25.0 mL of 0.400 M NH3(aq) titrated with 0.335 M HI(aq). (For NH3, Kb = 1.8x10-5.) Enter scientific notation as 1.23E4.
What is her height above the river at her lowest point : Your adventurous friend Lola goes bungee jumping. She leaps from a bridge that is 100 m above a river. WHat is her height above the river at her lowest point
Construct e-r diagram for a car insurance company : Construct E-R diagram for a car insurance company whose customers own one car or more cars each. Each car with it zero to any number of recorded accidents.
Write program using array that asks user to input 10 numbers : Write a program using array that asks user to input 10 numbers, then calculates the average of those numbers and finds out the total number that is greater or equal to the average.

Reviews

Write a Review

Basic Computer Science Questions & Answers

  C++ statements that define the function grade

At Enlightened State University, students earn grades of Honors, Pass, or Fail rather than usual letter grade. The function grade returns H, P, F depending on whether avg merits a grade of Honors.

  Write a program to help the weatherman with weather report

write a program to help the weatherman with his weather report. you will sample the temperature each hour on the hour over the course of 24 hours

  Describe the five forces model

Describe the Five Forces Model. What role does the Five Forces Model play in decision making? Define a database management system and discuss each of the five important software components of a database management system.

  Methods-majority of target audience can play applications

What are some methods that we can guarantee that majority of target audience can play applications?

  Optional functionality: allow the user to print the report

A company hires you to write a program to track hourly employee arrival and departure times from work. In essence, you are tasked to make an online time clock

  Write a program that asks the user for a year and computes

Write a program that asks the user for a year and computes whether that year is a leap year. I know how to build it, but I don't understand when it talks about the exceptions of 1582. Can someone explain this to me? Thanks.

  Control that programmee with key

Please control that programmee with key (left ,right ,up and down ) and also make a chain of snake when eat egg,and game over when snake strike with hurdel.

  Specification and representation information for a data type

Compare Ada with both C++ and Java in this regard. Take and defend a position as to whether requiring separation of the specification and representation information for a data type is a good language design decision.

  Popular day-trip destination for local families

Two large international holiday companies have been planning to build hotel and leisure facilities for tourists on one of the island's beaches, which is also a popular day-trip destination for local families.

  Explain one technological device

Explain one technological device in 350 to 700 words. Include the following:When did it come (or will it potentially come) into existence? What scientific or technological reasoning explains how this potential will be (or can be) be reached in t..

  Create an array of ten doubles

Java program that reads temperature data from the user and displays statistical data about those temperature. Create an array of ten doubles. How do you even start this? This is a basic java course.

  Examine and analyze the principles of inheritance

Examine and analyze the principles of inheritance. Use the Library to get started on finding resources.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd