• Skip to main content
  • Skip to footer

CS50's Introduction to Computer Science on Edx: Supplementary resource

CS50 threads to aide as a supplementary resource

Runoff project: Objective of vote and validate functions

CS50 threads to aide as a supplementary resource › Forums › CS50’s Introduction to Computer Science by Harvard University on Edx › Week 3 › Runoff project: Objective of vote and validate functions

Tagged: vote and tabulate functions in plurality

  • This topic is empty.
Log In Register Lost Password
Viewing 1 post (of 1 total)
  • Author
    Posts
  • November 24, 2022 at 6:52 am #930
    admin
    Keymaster

      If I understand correctly, the vote function accomplishes creating a ballot for each voter.

       

      Next, tabulate function counts the number of votes received by each candidate for the first choice. This will help eliminate the candidate/candidates with the least votes as the first choice.


      Reply


      https://edstem.org/us/courses/176/discussion/2208110[learn_press_profile]

    • Author
      Posts
    Log In Register Lost Password
    Viewing 1 post (of 1 total)
    • You must be logged in to reply to this topic.
    Log In

    Log in / Register

    Initiative by Digital Splendid OPC Pvt. Ltd.