Question: C++ programming! If you know how to c++ program, Im trying to write up a program for this but Cnt get it to workout. Having
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 the weather. 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, etc. To develop an accurate 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. 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 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) the importance of the election: the program should ask the user questions ete 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: s- 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
Get step-by-step solutions from verified subject matter experts
