Question: This is in Python. 5.8 Program: Donation tracker The local humane society has asked you to create an application to help track donations. They would
This is in Python.
5.8 Program: Donation tracker
The local humane society has asked you to create an application to help track donations. They would like to be able to enter a goal and take donations until the goal is reached. If a user tries to donate a negative amount reject the donation and display an error message.
They have provided a mock-up of how they would like the program to look below.
Sample Execution:
Humane Society Donation Tracker Please enter your goal: 100 Current amount: $0 Please enter a donation amount: 25 Current amount: $25 Please enter a donation amount: 50 Current amount: $75 Please enter a donation amount: 10 Current amount: $85 Please enter a donation amount: -85 You can't donate a negative amount of money! Current amount: $85 Please enter a donation amount: 15 Congratulations, you met your goal!
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
