Problem Statement: Expense class You are required to write a class name “Expenses “. Expenses class has· Constructors· Destructor·
Write a function to add expenses for a month·
Write function which displays these expenses.·
Write a function which calculates savings for a month. · Expense class has following data members
o Total Income // total income of person/family
o Gbill //Gas bill
oEbill //Electricity bill
o Wbill // water Bill
o OExpenses // any other expenses
o Month //Month for which you are calculating these expenses You have to populate all these record on monthly basis; to populate records; you have to use getter and setters for all data members.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.