Computer Project
Computer Project
SCEINCE
Name= Soumyadeep De
Class= 12 A1
Roll No= 58
MEMBERS OF THE TEAM
APOORV BHARDWAJ(22)
SAMEER SAINI(53)
SISANTA CHHATOI(57)
SOUMYADEEP DE(58)
CERTIFICATE
Internal Examiner:
Date:
INDEX
SL. PG.
CHAPTER
NO. NO
1. ACKNOWLEDGEMENT 5
2. INTRODUCTION 6
3. NEED FOR EMPLOYMENT MANAGEMENT 8
4. HARDWARE AND SOFTWARE 10
REQUIREMENTS
5. MENU TREE 11
6. SOURCE CODE 12
7. CHOICE OUTPUTS 19
8. CONCLUSION 21
9. BIBLIOGRAPHY 22
ACKNOWLEDGEMENT
# making Connection
con=mysql.connector.connect(host="localhost",user="root",
password="password",database="emp")
# Function to mAdd_Employee
def Add_Employ():
else:
Name = input("Enter Employee Name : ")
Post = input("Enter Employee Post : ")
Salary = input("Enter Employee Salary : ")
data = (Id, Name, Post, Salary)
# Inserting Employee details in
# the Employee Table
sql = 'insert into empd values(%s,%s,%s,%s)'
c = con.cursor()
menu()
# menu function to display menu
def menu():
print("Welcome to Employee Management Record")
print("Press ")
print("1 to Add Employee")
print("2 to Remove Employee ")
print("3 to Promote Employee")
print("4 to Display Employees")
print("5 to Exit")