|
Your time now: Mon Nov 23, 2009 3:59 pm
|
View unanswered posts | View active topics
| Author |
Message |
|
var5an1
|
Post subject: loop in a button Posted: Sun Jan 01, 2006 10:48 pm |
|
Joined: Sun Jan 01, 2006 10:43 pm Posts: 3
|
|
code:
tried for and do whil loop..
the amount is already set to 1.00
every time the user clicks on the "10p" button it deducts 10p
until it gets to 0 if its more then 0 its give change
if (e.getActionCommand().equals("10p"))
{
..can u help me what code goes here inc calculation
}
thank u
|
|
| Top |
|
 |
|
var5an1
|
Post subject: please help Posted: Mon Jan 02, 2006 4:47 pm |
|
Joined: Sun Jan 01, 2006 10:43 pm Posts: 3
|
|
need help for the amount to decrement when a button is pressed
|
|
| Top |
|
 |
|
Page 1 of 1
|
[ 2 posts ] |
|
Who is online |
Users browsing this forum: No registered users and 0 guests |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot post attachments in this forum
|
|
|