BANGLADESH UNIVERSITY OF BUSINESS & TECHNOLOGY (BUBT)
Department of Electrical & Electronic Engineering Technology
Faculty of Engineering & Applied Sciences
Course Title: Structured Programming Language Lab II
Course Code: CSE 202
Mini Project Report
Project Title: Election System
Submitted to
Sabbir Hossain
Teaching Assistant
Department of EEE in BUBT
Submitted By
Intake: 33(Eve) Group: B
Name ID Email
MISKAT SALMAN 20213208013 mmiskat222@[Link]
NAZMA 20213208014 nazmaaria351649@[Link]
RAJIA SULTANA 20213208016 rajiasultana7868@[Link]
MITHU AKHTER 20213208017 mithuakhter2014@[Link]
RIPON MARDY 19202208036 mardyripon15@[Link]
Contents
❖ Acknowledgement………………………………………3
❖ Introduction……………………………………………..4
❖ Why Learn C Programming Language?..........................4
❖ Election System…………………………………………4
❖ Flowchart………………………………………………..8
❖ Output…………………………………………………...9
❖ Feature…………………………………………………10
❖ Reference………………………………………………10
Acknowledgement
We express our gratitude and sincere thanks to our teacher Sabbir
Hossain, Department of Electrical and Electronic Engineering for his
gracious efforts and keen pursuit, which has remained a valuable asset
for the success of our project report. His dynamism and diligent
enthusiasm have been highly instrumental in keeping our spirits high.
His flawless and forthright suggestions blended with an innate
intelligent application have crowned our task with success. We are
indebted to him for having helped us shape the problem and providing
insights towards the solution.
At least but not the least we are highly thankful to THE ALMIGHTY,
who has given me the courage and wisdom throughout this whole
journey.
Introduction
The C programming language is a procedural programming language. It was
created primarily as a system programming language for developing operating
systems. Low-level memory access, a small collection of keywords, and a clean
style are all qualities that make C language excellent for system programming,
such as operating system or compiler development.
Why Learn C Programming Language?
Because it mixes the characteristics of high-level languages with the functionalism
of assembly language, C is often referred to as a middle-level computer language.
The manipulation of bits, bytes, and addresses in C gives the programmer more
control over how the program will behave and more direct access to the underlying
hardware mechanisms.
Working programmers influenced, influenced, and field-tested C. As a result, C
provides the programmer with exactly what he or she want. C++ is a more
advanced version of the C programming language. C++ incorporates all of the
features of C, as well as support for object-oriented programming (OOP).
Furthermore, C++ includes numerous enhancements and features that make it a
“better C,” regardless of whether or not it is used for object-oriented programming.
Election System
The best way to learn is to do. Hence, what better way to learn C programming
language (if you know the basics) than to code your first mini project.
In order to make our election system we use the following concepts of C
programming language:
Used Header:
Use of Loop:
Use of function:
Use of Switch case:
Use of define preprocessor:
Flowchart:
Start
Cast The
Vote
No
Choose Your Candidate
Yes
END
Start Start
Find Vote Count Find Leading
Candidate
Yes
END
Vote Statistics
Yes
END
Output:
The following are the output for our election system:
Choice 1:
Choice 2:
Choice 3:
Feature:
❖ Reusable code that can be adapted into other systems.
❖ Reprogrammable according to the particular programmer’s taste.
❖ Better and more efficient in comparison with traditional voting
system.
Reference:
❖ Codeblocks IDE
❖ [Link]