subject

Write a program to fetch state of residence and marital status of 5 users. use if..elif: 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 within this region, count the number of people who are married, single, divorced and separated. if the user is from "ny", "ma", "fl", count them towards eastern region within this region, count the number of people who are married, single, divorced and separated. if the user is from "tx", "al", "ga", count them towards southern region within this region, count the number of people who are married, single, divorced and separated. else display "the person is not counted towards any of the following states. tx, al, ga, ny, ma, fl, ca, nv, ar or wa" make sure you test the program intensively before submitting it. all results must be displayed

ansver
Answers: 1

Other questions on the subject: Computers and Technology

image
Computers and Technology, 22.06.2019 07:20, Hcalhoun21
Write a pseudocode solution for each of these problems. 1. design a while loop that lets that user enter a number. the number should be multiplied by 10, and the result stored in a variable named product. the loop should iterate as long as product contains a value less than 100. 2. design a do-while loop that asks the user to enter two numbers. the numbers should be added and the sum displayed. the loop should ask the user whether he or she wishes to perform the operation again. if so, the loop should repeat; otherwise it should terminate. 3. design a for loop that displays the following set of numbers: 0, 10, 20, 30, 40, 50 100. 4. design a nested loop that displays 10 rows of # characters. there should be 15 # characters in each row. 5. convert this for loop to a while loop. declare integer count for count = 1 to 50 display count end for 6. find the error in the following pseudocode. declare boolean finished = false declare integer value, cube while not finished display “enter a value to be cubed.” input value; set cube = value ^ 3 display value, “ cubed is “, cube end while
Answers: 2
image
Computers and Technology, 22.06.2019 08:00, wgdelgado
What is the first step in creating a maintenance ?
Answers: 2
image
Computers and Technology, 23.06.2019 01:50, jumoke26
Create a class named majors that includes an enumeration for the six majors offered by a college as follows: acc, chem, cis, eng, his, phys. display the enumeration values for the user, then prompt the user to enter a major. display the college division in which the major falls. acc and cis are in the business division, chem and phys are in the science division, and eng and his are in the humanities division. save the file as majors. java.
Answers: 2
image
Computers and Technology, 23.06.2019 05:00, bellad0124outlookcom
In cell b18, enter a formula to calculate the amount budgeted for meals. this amount is based on the daily meal allowance and the total travel days (# of nights+1).
Answers: 1
You know the right answer?
Write a program to fetch state of residence and marital status of 5 users. use if..elif: to find ou...

Questions in other subjects:

Konu
Mathematics, 06.05.2020 07:11
Konu
Geography, 06.05.2020 07:11