Difference: HandsOnObects ( vs. 1)

Revision 12018-03-22 - JimSkon

Line: 1 to 1
Added:
>
>
META TOPICPARENT name="Spring2018"

Hands On

Candidate Class

Steps

  1. Go here to get candidate class
  2. Make a project using this code
  3. Add 2 new candidates to the code.
  4. Modify the class to also store and display candidates age (integer).
  5. 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 site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2019 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback