Monish Mini Project 4 PDF
Monish Mini Project 4 PDF
A PROJECT REPORT
Submitted by
MONISH A REG(113223071059)
BACHELOR OF TECHNOLOGY
IN
INFORMATION TECHNOLOGY
INFORMATION TECHNOLOGY
JANUARY 2024
VELAMMAL ENGINEERING COLLEGE
DEPARTMENT OF INFORMATION
TECHNOLOGY
BONAFIDE CERTIFICATE
Certified that this project report titled “EXPENSE TRACKER” is the bonafide work of
Mr,MONISH A(113223071059) who carried out the Mini project work under my supervision.
SIGNATURE
SIGNATURE
The MINI PROJECT Examination of this project work “EXPENSE TRACKER” is a bonafide
record of project done at the department of Information Technology, Velammal Engineering
College during the academic year 20223-2024 by
MONISH A ( 113223071059)
INTERNAL
EXAMINER
iii
ACKNOWLEDGEMENT
v
ABSTRACT
iv
S.NO TITLE PAGE NO
ABSTRACT IV
V
ACKNOWLEDGEMEN
1 TINTRODUCTION VI
1.1 User 1
1.2 Interface 1
Guessing Logic and
1.3 1
Feedback
2 SOFTWARE USED
2.2 IDE 2
2.3 (CLI)/Termina 2
l
3 MODULE
IMPLEMENTATION
3.1 main.py 3
3.2 game_logic.py 3
3.3 user_interface.py 4
3.4 config.py 5
SNAPSHOTS OF
4 CODING AND OUTPUT
4.1 Snapshot of output 4.2
6
Snapshot of coding
7
VI
CHAPTER 1
INTRODUCTION
1
Project outline
Tools/platform
2.Language: Python
Step1:start
Step2:define expense tracker class
Step3:Intialize expense tracker object
Step4:get input for salary,food expenses, purchase expenses
Step5:calculate and display total expenses
Step6: calculate and display remaining balance
Step7: run the main function
Step 8: stop
PSEUDO CODE
BEGIN
DEFINE expense tracker
INTIALIZE expense tracker object
GET input for salary,food, purchase expenses
CALCULATE and display total expenses
CALCULATE and display remaining balance
RUN the function
END
CODING OF EXPENSE TRACKER
class ExpenseTracker:
def init (self):
self.salary = 0
self.food_expenses = 0
self.purchase_expenses = 0
def total_expenses(self):
return self.food_expenses + self.purchase_expenses
def remaining_balance(self):
return self.salary - self.total_expenses()
def main():
tracker = ExpenseTracker()
# Adding salary
salary = float(input("Enter your salary: $"))
tracker.add_salary(salary)
8
OUTPUT:
7
CONCLUSION AND FUTURE ENHANCEMENT
Conclusion
The Python program is a simple yet effective expense tracker that helps users manage their
finances by tracking their salary, food expenses, and purchase expenses. By utilizing the
ExpenseTracker class, users can input their salary and expenses, which the program then uses
to calculate total expenses and the remaining balance. This is done through methods that
update the salary and expenses, and then compute the total expenses and remaining
balance.When the program runs, it prompts the user to enter their salary, food expenses, and
purchase expenses. It then displays the total amount spent on expenses and the remaining
balance after subtracting the total expenses from the salary. This straightforward interface
allows users to easily keep track of their financial status and make informed decisions about
their spending. The program highlights the importance of monitoring expenses and maintaining
a balanced budget to achieve financial stability.
Future enhancement
Future enhancements for the ExpenseTracker program can include several features to improve
usability and functionality. Firstly, adding a graphical user interface (GUI) using libraries such
as Tkinter or PyQt can make the application more user-friendly. Incorporating data persistence
with a database (e.g., SQLite) allows users to save and retrieve their expense data across
sessions. Additionally, implementing categories for expenses (e.g., entertainment, utilities) can
provide more detailed tracking and analysis.Another enhancement could be generating visual
reports and charts to help users understand their spending patterns. Integration with external
APIs to fetch exchange rates can assist users who manage expenses in different currencies.
Adding user authentication and multi-user support would allow different individuals to track
their expenses separately. Finally, incorporating budget planning and alerts can help users
manage their finances more effectively by setting limits and receiving notifications when they
are close to exceeding their budget.
9
References:
10