Hands On
Candidate Class
Steps
- Go here to get candidate class
- Make a project using this code
- Add 2 new candidates to the code.
- Modify the class to also store and display candidates age (integer).
- Modify polls to be an array of ints. Add a int to keep track of the number of polls stored (max 100). Add a member function "addPoll" which add a new poll. Add a member function "showPolls to show polls for a candidate.
This topic: SCMP118
> Main >
Spring2018 > HandsOnObects
Topic revision: r1 - 2018-03-22 - JimSkon