Your portion of the code requires you to create a class


You have been asked to work on a much larger project for a mobile app that helps people manage their budget.

Your portion of the code requires you to create a class that will take into it the amount of money someone has earned for a month and their monthly expenses.

The class will then determine if there is any money left over. If there is money left over (balance > 0) the class will display to the user the message "Good job you saved money this month".

If the monely left over is zero, then the class will display to the user the message "You neither saved or overspent".

Finally if the balance is less than 0 or negative, the class needs to display the message "You did not do too well this month". Your class needs to have 2 methods.

One to calculate the balance and the other to determine the message.

Additionally you will need code in main() that will create an object and run the methods.

 

Request for Solution File

Ask an Expert for Answer!!
Computer Engineering: Your portion of the code requires you to create a class
Reference No:- TGS02906198

Expected delivery within 24 Hours