We can work on Election Simulator

Implement an Java ElectionSimulator class that can compute the minimum number of popular votes needed to win the Electoral College given the turnout during an election year.

The following two methods need to be implemented.

1) ElectionSimulator(List states)
Constructs a new ElectionSimulator for the given list of states.

2) Set simulate()
Returns the set of states with the minimum number of popular votes needed to win the election.

Sample Solution

The Baghdad Pact provided a good line of cooperation regarding the security and defense of the members. This line was adopted to counter the Russian policy of expansion southwards in the direction of the Caspian and the Black Sea, and into Central Asia (Sattar, 2007). On 15 July 1956, President Iskander Mirza visited Ankara (Turkey). Both leaders Pakistan and Turkey discussed various issues about economy and bilateral trade. After those meetings joint communique was issued regarding this visit that Pakistan and Turkey will exchange solemn assurance , Turkey would support Pakistan in the settlement of disputes with India and Afghanistan, and Pakistan would support Turkey over the Cyprus issue. (Ali, 2001) Emergence of CENTO In July 1958 in Iraq a new government took the charge and new government made the new policy about his country. The New government of Iraq’s leader who was come through a revolution immediately denounced the Baghdad pact and Iraq ceased to be a member. The July 1958 meeting of Baghdad pact council which was held in London agreed that another defense organization should take the place of the defunct Baghdad pact. The new organization came to be known as Central Treaty Organization or CENTO in 1959 (Sattar, 2007). The President of Turkey, Ceral Bayar visited Pakistan’s Capital Karachi on 22 September 1958 and talked about diplomatic relations with the President Iskander Mirza. At that time Turkish President suggested for the formation of a confederation between Pakistan, Turkey, Afghanistan and Iran. Shah of Iran welcomed the idea of a confederation on 28th of September 1958 and stated that ‘It’s a good idea and we are ready to form it’, but this good idea of Turkish President could not be concretized because Afghanistan adopted the policy of neutrality on the topic of Confederation. Therefore this visit of theTurkish President was o>

Is this question part of your Assignment?

We can help

Our aim is to help you get A+ grades on your Coursework.

We handle assignments in a multiplicity of subject areas including Admission Essays, General Essays, Case Studies, Coursework, Dissertations, Editing, Research Papers, and Research proposals

Header Button Label: Get Started NowGet Started Header Button Label: View writing samplesView writing samples