Skip to content

This is a school activity in DSA involving Monthly Expenses related Questions

Notifications You must be signed in to change notification settings

davenarchives/arrays-lists-montly_expenses

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 

Repository files navigation

lists-montly_expenses

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:

  1. In Feb, how many pesos you spent extra compare to January?
  2. Find out your total expense in first quarter (first three months) of the year.
  3. Find out if you spent exactly 2000 pesos in any month
  4. June month just finished and your expense is 1980 pesos. Add this item to our monthly expense list
  5. 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.

About

This is a school activity in DSA involving Monthly Expenses related Questions

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages