Question: Write a c++ program that will predict voter turnout. If you dont write out the full program, write out the beginning with the appropriate set

Write a c++ program that will predict voter turnout. If you dont write out the full program, write out the beginning with the appropriate set up. I can complete the rest.
 Write a c++ program that will predict voter turnout. If you
dont write out the full program, write out the beginning with the
appropriate set up. I can complete the rest. PURPOSE: To develop, code,

PURPOSE: To develop, code, and execute a C++ program that will predict voter turnout, given data from a voting district that includes information such as the number of voting-age citizens, the political leanings of the district, the state of the economy, and DESCRIPTION: Good data is important for analysis and decision making. Sometimes we design experiments to collect good data and sometimes we model situations to simulate data collection. Computers can help us model a system or situation, and predict the outcome. In this project, you will develop a program that predicts the number of people who will vote in an election. This information could be used in many different ways -to help predict election results, to develop programs encouraging under-represented groups to vote model that predicts the number of voters, we have to identify the factors that have an affect on the number of people who decide to vote. etc. To develop an accurate These factors are: 1) The weather (for example, people are less likely to vote when the weather is poor) The weather should be rated on a scale of 1-5, where: 1-Very Good 2 Good 3 Neutral 4-Bad 5 - Very Bad 2) The economy - whether it is up (doing well), down (doing poorly), or stable 3) The political leanings of the majority of voters in the district-either liberal, conservative, or independent The importance of the election - this will be determined by the program (NOT the user!), based on the number and type of elections being held, which should be entered by the user. Details on how the program should make this determination are given below. 4) Determining the importance of the election: the program should ask the user questions about the types of elections being held (congressional, state, local, presidential, etc.), and how many of the different types of elections, and then use this information to rate the importance of the election on a scale of 1 to 5 where: 5- Very Important 4 Important 3- Neutral 2 Unimportant 1 - Very Unimportant The importance of the election is determined as follows: A presidential election is always considered very important, as is an election for three or more congressional offices. (con't on next page)

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!