Hi I am trying to do the first step
I am not sure exactly how to start a method on something that accepts and accumulates daily contributions.
this is part of the assignment -
The XYZ School wants to carry its grade 10 students on a trip. The cost of the trip is $5,000.00. The school has only thirty days in which to collect the funds in order to go on the trip.
Design a class called SchoolContribution that creates a contribution account. Incorporate the following:
• A method called totalContribution(..) that accepts and accumulates the daily contributions.