Array Problem

Can you help me to get with this output? Please dont use vectors


Enter No. of candidates :3

Enter Name of candidate 1:obama
Enter Name of candidate 2:bush
Enter Name of candidate 3:clinton

Enter No. of Precinct(s) :3

            Precinct1     Precinct2     Precinct3     Total
1. Obama      100            203           504         807
2. Bush       600            900            10         1510
3. Clinton    567            123            90         780

Bush Won with 1510 votes


Last edited on
see my reply to your other post....
Topic archived. No new replies allowed.