Ballot Freedom is a simple console-based voting system written in C developed as part of our Structured Programming Languages Lab Course
It allows users to add candidates, cast votes, view vote counts, and check the leading candidate β all through an easy-to-use text menu.
This project is great for beginners who want to learn about C programming basics, arrays, and user input handling.
- Adds and manages list of candidates.
- Casts votes for candidates or spoil a vote.
- Displays total votes for each candidate.
- Shows the leading candidate or detect a tie.
- Input validation for better error handling.
- Tracks spoiled votes.
- Clean, interactive console menu.
- Language: C
- Compiler: GCC or any standard C compiler
- Interface: Console (Text-based)
Ballote-Freedom/
βββ README.md
βββ Project Docs
βββ SPL.c
- Designed as part of the SPL Lab course to introduce beginners to programming through hands-on practice.
- Thanks to all contributors and testers who make this project possible.
Happy Learning with Ballot Freedom! π