Assignment 2 - My Expense Buddy
Assignment 2 - My Expense Buddy
Programming Fundamentals
Total Marks: 40
You are building a weekly expense analyzer for yourself, a student who wants
to keep track of daily spending. You often find it difficult to remember how
much you’ve spent throughout the week and whether you’ve stayed within
your budget. So, you're developing a simple program called “My Expense
Buddy” to track your weekly expenses, compare them with your set budget,
and display insights.
🎯 Assignment Objectives
Use file I/O in C++ (ofstream, ifstream) to read and write data
persistently.
Program Requirements
After the loop, compute the average daily expense by dividing total
by 7.
============================================
Thank you for using My Expense Buddy!
============================================