Results 1 to 3 of 3
- 02-13-2011, 03:55 AM #1
Member
- Join Date
- Jan 2011
- Posts
- 40
- Rep Power
- 0
- 02-13-2011, 05:00 AM #2
Senior Member
- Join Date
- Feb 2011
- Posts
- 118
- Rep Power
- 0
This is very straightforward. Each pf those methods can change the balance, right? In each case, add or subtract the method argument to or from the current balance. If Math.max(balance, intendedBalance) == balance, then set balance to 0; otherwise, set it to the intended balance.
- 02-13-2011, 05:59 AM #3
Member
- Join Date
- Jan 2011
- Posts
- 40
- Rep Power
- 0
Similar Threads
-
Changing binding when changing the underlying model object
By ChrisNY in forum NetBeansReplies: 0Last Post: 08-14-2010, 10:09 AM -
Calculate the remaining balance on a loan
By ŖàΫ ỏƒ Ңόρę in forum New To JavaReplies: 9Last Post: 03-30-2010, 03:38 AM -
Color Balance
By THEAniKan in forum Java 2DReplies: 2Last Post: 09-14-2009, 04:34 PM -
Binary Tree Deletion & Balance Methods
By sev51 in forum New To JavaReplies: 1Last Post: 01-27-2009, 04:26 PM -
Negative elements
By swikar.java in forum New To JavaReplies: 6Last Post: 12-15-2008, 04:48 AM


LinkBack URL
About LinkBacks
Reply With Quote


Bookmarks