Adobe Scan 05 Dec 2024 Computer Project
Adobe Scan 05 Dec 2024 Computer Project
Kalyanpur
Session 2024-2025
Computer Science Project File
Submitted To: Submitted By:
Mr. Govind Rathore Sir Name-Mahendra Singh
Class-XII
PROJECT BASED ON
Basic
Inventory
management system
Index
S No. Content Page No.
1) Certificate 4
2) Acknowledgement 5
3) Introduction 6
4) Source Code o7
5) Output Window 10
6) Bibliography 13
CERTIFICATE
This is to certify that Mahendra Singh of class XIl
(Science) of Gardenia Public School has done his
project on Basis Inventory management system
under my supervision. He has taken interest and has
shown at most sincerity in completion of this project.
Icertify this Project up to my expectation &as per
guidelines issued by CBSE, NEW DELHI.
Internal Examiner
External Examiner
Acknowledgement
It is with pleasure that I acknowledge my sincere
gratitude to our teacher, Mr. Govind Sir who taught
and undertook the responsibility of teaching the
subject computer science. I have been greatly
benefited from his classes.
def sell):
mycursor=mydb.cursor()
nm=input("Product to sell:")
qu=input(Quantity:")
mycursor.execute('update product set quantity=quantity-o
where pname=".format(qu,nm))
mydb.commit()
print("Total number of rows affected",mycursor.rowcount)
main)
def addmore):
mycursor=mydb..cursor()
nm=input("Product to Add:")
qu=int(input("Quantity:")
mycursor.execute("update product set quantity=quantity+)
where pname=".format(qu,nm))
mydb.commit()
print("Total number of rows affected",mycursor.rowcount)
main)
def alldata():
mycursor=mydb.cursor()
def main0:
print('Inventory Management System: Main menu")
print("1. Show all product\n2. Sell product\n3. Add more
quantity ")
ch=int(input('Enter your Choice:")
if ch==1:
alldata)
elif ch==2:
sell)
elif ch==3:
addmore()
else:
print("Enter correct choice")
main)
main)
Output:
Main menu:
Website
http://python.mykvs.in/index.php
https://www.google.co.in/
THANK
YOU