Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

Python 3.2.5 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.

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Administration The Complete Guide To Dba Practices And Procedures

Authors: Craig S. Mullins

2nd Edition

0321822943, 978-0321822949

More Books

Students also viewed these Databases questions