/Student-Election-System

Voting system for candidates standing for College president.

Primary LanguageC

Student-Election-System(Using C language)

Voting system for candidates standing for College president. It uses the concept of file handling.

List of files:

  1. candidates.txt = This file contains the number of candidates participating in elections.
  2. number.txt = This contains no of votes for each candidate.
  3. voters.txt = This contains the voters who have voted.
  4. dstruct.c = This file compute the winner of election by computing the votes for each candidates from the file number.txt.

Rules followed:

  1. You can vote only once.
  2. Enter names as per registered in college.
  3. You can add new candidates.
  4. Student from any branch can participate.