aspose file tools*
The moose likes Ranch Office and the fly likes HELP!! Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » This Site » Ranch Office
Bookmark "HELP!!" Watch "HELP!!" New topic
Author

HELP!!

Joe Grafton
Greenhorn

Joined: Feb 23, 2000
Posts: 5
Is anyone online at the moment. I need some help.
If so, please let me know.
Any help would be GREATLY appreciated.
Thanks,
Joe G
paul wheaton
Trailboss

Joined: Dec 14, 1998
Posts: 20693
    ∞

It is now three and a half hours later... Did you post a message somewhere about your problem? I'll look around.


permaculture Wood Burning Stoves 2.0 - 4-DVD set
Joe Grafton
Greenhorn

Joined: Feb 23, 2000
Posts: 5
hi everyone,
It's lunch for me now so here goes:
I am working on a hw assignment that models a bank.
There are 3 accounts and the normal transactions to be performed on them. (i.e. deposit, balance, withdraw, etc.) I am being asked to add a transfer method under the model of :
private void transfer (BankAccount to, BankAccount from, int amount) I have instantiated the statement as a seperate method under the Bank class (Bank.java) However, my problem lies in the reading of the transfer string. I can't get the program to compile. I have tried numerous methods. such as :
terminal.readInt("account 1,2,3)" + whichAccount);(xfer where)
int amount = readInt(amount); (prompt for the amount to xfer)
none of these would do it for me. i realize this is not enough info but if anyone has suggestions or would like to get more info, i have a hard copy at work, but no access to the file so I can type it in as an entry here.
Any help, again, would be GREATLY appreciated.
Thank you all!!!
Joe G.
Originally posted by Paul Wheaton:
It is now three and a half hours later... Did you post a message somewhere about your problem? I'll look around.

paul wheaton
Trailboss

Joined: Dec 14, 1998
Posts: 20693
    ∞

I'm going to move this to the "Java in General (beginner)" forum.
 
wood burning stoves
 
subject: HELP!!