Færdiggjort

1-Dimensional Array: Election

Read in the names of five candidates in an election and the number of votes received by each. Print the list of candidates, the number of votes they received, and the percentage of the total votes they received, sorted in order from the winner to the person with the fewest votes. You will need to create a pair of parallel arrays. One array will hold the person’s name. The other array will hold the number of votes the person received. You will need functions for the following: -Read the data into the arrays. -Sort the arrays in order from highest to lowest. (That is, the [0] position should have the highest number.) -Print the list of candidates, the number of votes they received, and the percentage of the total votes they received. Also, have the user choose whether they want to type in the names or enter them through a text file. If they use a text file, it should be in this format: Paul Smith 43 Ned Flanders 73 Kermit the Frog 98 Elmer Fudd 27 Code MUST be commented.

## Deliverables

Complete and fully-functional working program(s) in executable form as well as complete source code of all work done. Code MUST be commented. Complete copyrights to all work purchased.

## Platform

Microsoft Visual C++ 6.0

## Deadline information

Must be completed by 03/04/2002

Evner: C programmering, Ingeniørarbejde, MySQL, PHP, Software Arkitektur, Software Testning

Se mere: sort array c, programming array, paul programming, parallel programming in c, pair programming, c programming arrays, c programming array, c# parallel programming, arrays in programming, arrays in c programming, array programming, array in c programming, array c programming, parallel programming c, print hold, parallel programming, fewest, elmer, election, hold source code

Om arbejdsgiveren:
( 14 bedømmelser ) United States

Projekt ID: #2840562

Tildelt til:

cinterosystems

See private message.

$7 USD in 14 dage
(139 bedømmelser)
5.6

12 freelancere byder i gennemsnit $14 på dette job

sammyleong

See private message.

$21.25 USD in 14 dage
(80 bedømmelser)
5.2
pickingapples

See private message.

$12.75 USD in 14 dage
(43 bedømmelser)
4.8
leepwo

See private message.

$21.25 USD in 14 dage
(41 bedømmelser)
4.7
anazvw

See private message.

$17 USD in 14 dage
(33 bedømmelser)
4.3
asadsufi

See private message.

$12.75 USD in 14 dage
(38 bedømmelser)
4.1
odysseyvw

See private message.

$12.75 USD in 14 dage
(32 bedømmelser)
3.3
vicky113vw

See private message.

$12.75 USD in 14 dage
(12 bedømmelser)
3.2
dannynoest

See private message.

$8.5 USD in 14 dage
(15 bedømmelser)
2.7
shadrachvw

See private message.

$17 USD in 14 dage
(0 bedømmelser)
0.0
sk4rlath

See private message.

$4.25 USD in 14 dage
(0 bedømmelser)
0.0
murtadavw

See private message.

$17 USD in 14 dage
(0 bedømmelser)
0.0