Skip to content

Suhas-30/Online-voting-System

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 

Repository files navigation

Voting System

This is a simple command-line voting system implemented in C. It allows users to register as voters, cast votes for candidates, and view the votes received by each candidate.

Features

  • Voter Registration: Users can register as voters by providing a unique username and password.
  • Candidate Registration: Candidates are predefined in the system and cannot be added dynamically.
  • Voting: Registered voters can cast their votes for any candidate.
  • Vote Count Display: Users can view the total votes received by each candidate.

Getting Started

To compile and run the program, follow these steps:

  1. Clone the repository to your local machine.
  2. Navigate to the project directory.
  3. Compile the program using a C compiler (e.g., gcc).
  4. Run the compiled executable.

Usage

  1. Choose the desired option from the main menu:
    • Option 1: Register as a voter.
    • Option 2: Cast a vote.
    • Option 3: View the votes received by each candidate.
    • Option 4: Exit the program.
  2. Follow the on-screen instructions to complete the selected action.

Contributors

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages