PPS Mini Project Report Template
PPS Mini Project Report Template
SYSTEM
21CSS101J – PROGRAMMING FOR PROBLEM-SOLVING
Submitted by
SCHOOL OF COMPUTING
COLLEGE OF ENGINEERING AND TECHNOLOGY
SRM INSTITUTE OF SCIENCE AND TECHNOLOGY
(Under Section 3 of UGC Act, 1956)
S.R.M. NAGAR, KATTANKULATHUR – 603 203
CHENGALPATTU DISTRICT
1|Page
BONAFIDE CERTIFICATE
SIGNATURE SIGNATURE
TABLE OF CONTENTS
2|Page
S No. Title Page No.
1 Problem Statement
3 Flowchart
4 Coding (C/Python)
6 Results/Screenshots
7 References
1.Problem Statement
3|Page
Time consuming as data entry which include calculations took lotof
time.
Searching was very complex as there could be 100’s of entryevery
year.
The proposed system is expected to be faster than the
existingsystem.
The project was made in order to effectively and efficiently cater to
requirements of the fitness center. Very frequently the person who
generally holds the tasks to manage the center needs to keep
records of all the transactions as well as data maually. Generally, in
order to structure these tasks, separate registers are
maintained.This whole process thus becomes quite cumbersome for
them to control manually. Moreover, any wrongdata entered
mistakenly can bring serious results.
This manually managed system of the store was also heavilyproned
to data loss due to certain causes misplacement of registers,
destruction of registers,unauthorised access toregisters etc. which
can bring in disasterous consequences.The cost of maintaince of
data and records of occurrence of transactions is very high.
Searching a particular data specific to particular requirements
isalso very tedious in such system. In order to retrieve records,
theresponsible person needs to manually locate the
appropriateregister and locate the appropriate placement of that
particularrecord which may be very time consuming.
Data redundancy is also a great issue in such kind of system.
Redundancy means repetiton. Thus data modified or updated at a
4|Page
particular place may not be data modified or updated at the other
related place which may create inconsistencies in data handling. It
destroys data integrity and creates confusion for the owner.
This simple coded program allows a fitness gym company to store and
retrieve customer and product details and update them easily. The
software is capable enough to allow the concerned person to store and
retrieve any type of record with just a single click of mouse.The software
allows interactive, self decribing graphic user interface environment
where even standalone users can work verycomfortably and easily.
Data redundancy is no more the problem now. The data modified from
one particular data entry form will reflect the modifications at the other
related forms, too.This has thus reduced the chances of data
inconsistency in our data storage.
5|Page
It requires one time investment of setting up required hardware and
software after which no more headache is required by the managers.
Moreover, it also reduces dependence on man power.
2. Flow chart
7|Page
3. Coding (C/Python)
8|Page
class super_user:
def __init__(self):
self.member=dict([])
self.regimen=dict([])
def
create_member(self,name,age,gender,mobile_no,email,BMI,membershi
p_duration):
self.member[mobile_no]={}
self.member[mobile_no]["name"]=name
self.member[mobile_no]["age"]=age
self.member[mobile_no]["gender"]=gender
self.member[mobile_no]["mobile_no"]=mobile_no
self.member[mobile_no]["email"]=email
self.member[mobile_no]["BMI"]=float(BMI)
self.member[mobile_no]
["membership_duration"]=int(membership_duration)
def view_member(self):
for i in self.member.keys():
print("Full Name:",self.member[mobile_no]["name"])
print("Age:",self.member[mobile_no]["age"])
print("Gender:",self.member[mobile_no]["gender"])
print("Mobile No:",self.member[mobile_no]["mobile_no"])
print("Email ID:",self.member[mobile_no]["email"])
print("BMI:",self.member[mobile_no]["BMI"])
print("Membership Duration:", self.member[mobile_no]
["membership_duration"])
def delete_member(self,mobile_no):
return self.member.pop(mobile_no)
9|Page
def update_membership(self,mobile_no, membership_duration):
self.member[mobile_no]["membership_duration"]=
membership_duration
def create_regimen(self,BMI):
self.regimen[BMI]={}
if BMI<=18.5:
self.regimen[BMI]["Mon"]="CHEST"
self.regimen[BMI]["Tue"]="BICEPS"
self.regimen[BMI]["Wed"]="REST"
self.regimen[BMI]["Thu"]="BACK"
self.regimen[BMI]["Fri"]="TRICEPS"
self.regimen[BMI]["Sat"]="REST"
self.regimen[BMI]["Sun"]="REST"
10 | P a g e
self.regimen[BMI]["Mon"]="CHEST"
self.regimen[BMI]["Tue"]="BICEPS"
self.regimen[BMI]["Wed"]="CARDIO"
self.regimen[BMI]["Thu"]="BACK"
self.regimen[BMI]["Fri"]="TRICEPS"
self.regimen[BMI]["Sat"]="CARDIO"
self.regimen[BMI]["Sun"]="CARDIO"
def view_regimen(self):
return self.regimen
def delete_regimen(self,BMI):
return self.regimen.pop(BMI)
def update_regimen(self,BMI,day,value):
self.regimen[BMI][day]=value
class User():
def __init__(self,member,regimen,phone):
self.user_profile=member[phone]
self.user_regimen=regimen
def view_user_profile(self):
return self.user_profile
def view_user_regimen(self):
return self.user_regimen[self.user_profile["BMI"]]
S=super_user()
opt=True
while (opt==True):
print("Welcome,Do you want to enter as an user or as super user")
print("press 1 for Super user")
11 | P a g e
print("press 2 for user")
val=int(input())
if val==1:
sup=True
print("Congratulations You are logged in as Super User")
while(sup==True):
print()
print("choose your option\n 1.Create member\n 2.View
member\n 3.Delete member\n 4.Update membership\n5.View
regimen\n")
num=int(input())
if num==1:
name=input("Enter Full Name:")
age=int(input("Enter age:"))
gender=input("Gender(M/F/T):")
mobile_no=int(input("Enter mobile number:"))
email=input("Enter your Email ID:")
BMI=float(input("Enter your BMI(1.0-35.0):"))
membership_duration=int(input("Enter the
duration(1/3/6/12):"))
if membership_duration in [1,3,6,12]:
S.create_member(name,age,gender,mobile_no,email,BMI,membership_
duration)
S.create_regimen(BMI)
else:
print("membership duration can only be 1,3,6 & 12-->Try
again")
elif num==2:
print(S.view_member())
elif num==3:
mob=int(input("enter the mobile number of user to be
deleted:"))
12 | P a g e
S.delete_member(mob)
elif num==4:
mob=int(input("enter the mobile number of user to be
updated:"))
membership_duration=int(input("enter the duration upto
which you want to extend:"))
S.update_membership(mob,membership_duration)
elif num==5:
print(S.view_regimen())
try:
S.delete_regimen(BMI_delete)
except:
print("Invalid BMI")
try:
S.update_regimen(BMI_update,Day,value)
except:
print("Invalid details")
elif num==9:
break
else:
print("Invalid input")
print("Want to enter more (Y/N)?")
sup=input()=="Y"
elif val==2:
user1=True
try:
phone=int(input("please Enter the user mobile number:"))
B=User(S.member,S.regimen,phone)
13 | P a g e
password=input("enter password (Hint:Your full Name):")
if password == S.member[ phone]["name"]:
print("Congratulations You are logged in as User")
while(user1==True):
print("Select any :\n 1.View User Regimen \n 2.View User
profile \n3.Update Membership \n 4.Log out")
val=int(input())
if val==1:
try:
print(B.view_user_regimen())
except:
print("User regimen not present")
elif val==2:
try:
print(B.view_user_profile())
except:
print("User profile not present")
elif val==3:
membership_duration=int(input("Enter the duration upto
which you want extenxion:"))
try:
S.update_membership(phone,membership_duration)
print("Want to enter more (Y/N)?")
user1=input()=="Y"
except:
print("Invalid User Details enter again")
elif val==4:
break
else:
print("Invalid number")
else:
print("Invalid password")
except:
14 | P a g e
print("either user not registered or invalid entry")
print("Want to enter more (Y/N)?")
user1=input()=="Y"
16 | P a g e
The right gym membership software solution will provide powerful
tools to engage members and increase retention. By automating
communication and interacting with members regularly, it increases the
overall customer experience. Think about how you want to engage with
your members; whether it’s push notifications as a reminder to get into
the studio or automated email promotions, you want to choose
membership management that aligns with your goals. The examples
above, such as email automation, push notifications, and member activity
tracking, are crucial as they enable you to:
Monitor member data and activity so that you can step in and
engage with at-risk members before they leave.
17 | P a g e
understand the data. That’s why it’s important that the proposed system
can provide reports across the business in an easy-to-digest format.
Putting your time and resources into the right part of the business
can reduce time-wasting and costs. Administrative tasks take up a lot of
time for gym owners and managers. A gym management system should
free up a lot of time so that your team can focus on what they do best;
selling gym memberships, creating a great member experience, and
producing fantastic member results. When you make decisions driven by
data, you will likely invest your money and time much more effectively.
7. Results/Screenshots
18 | P a g e
19 | P a g e
20 | P a g e