This is a school activity in DSA involving Monthly Expenses related questions
Exercise: Array/Lists Data Structure Let us say your expense for every month are listed below,
- January - Php 5200
- February - Php 6350
- March - Php 4600
- April - Php 4130
- May - Php 3190
• Create a list to store these monthly expenses and using that find out:
- In Feb, how many pesos you spent extra compare to January?
- Find out your total expense in first quarter (first three months) of the year.
- Find out if you spent exactly 2000 pesos in any month
- June month just finished and your expense is 1980 pesos. Add this item to our monthly expense list
- You returned an item that you bought in a month of April and got a refund of 200 pesos. Make a correction to your monthly expense list based on this.