Skip to content

A mini project - College/ University voting system using c program.

License

Notifications You must be signed in to change notification settings

iamevs/C-program-mini-project

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

C program Mini project

A mini project - University/College simple voting system using file handling.


Code-Overview

Files

  1. ELECTION.h
  2. Main.c

Election.h

A header file that includes all the function which will the main.c file needs to access.

Main.c

The main file to excutite all the functions accordind to the users input.


Instalization

  1. Clone this repository
git clone https://github.com/iamevs/C-program-mini-project.git
  1. locate to the folder where the repo extracted

  2. comple and run the C program

Compile

gcc main.c -o election

Run

.\election.exe

Explanation

At first when compiling and run the program you will able to see the out as to choose the options like

  1. Student
  2. Admin
  3. Exit

Initate the Election

  1. Enter the option as 2 and go ahead to the admin pannel
Username is Admin
Password id admin

Note : It is case sensitive
  1. After a successfull Login choose the option to initate the election. (Option 1)

  2. Enter the Year of election, The last two digits of the year will be the First two digits of the student's roll number.

Year : 2022  

Student's roll number : 22XXXXXX.
  1. Enter the Branch Code, This Branch code should be of three characters. So this three characters will be the next three of the student's roll number.
Branch code : MBA   

Student's Roll number : 22MBAXXX.
  1. Enter the Total number of students, so by this number will be the remaining of the student's roll number.
NO.of students : 127

Student's roll number : 22MBA001 to 22MBA127
  1. Enter the number of candidates, and enter their datails and Logout from the admin pannel.

Student Voting

  1. Choose the option for the student panel.

  2. Enter the proper Roll number as per the admin panel contents.

  3. Choose the candidates (voting).

  4. For the exit enter 0 and return.

Extra features

  1. Ban a user Id and stop some particular student.
  2. Delete the illegal votes.

If something spcl give a star ⭐.

About

A mini project - College/ University voting system using c program.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages