Search:

Type: Posts; User: D3C

Search: Search took 0.09 seconds.

  1. Replies
    10
    Views
    3,478

    Re: Creating a transfer function for a ATM simulation

    Ok i have fixed that problem, however i dont really know how to implement an arraylist for the accounts.Sorry i'm fairly new to Java =(

    import java.io.BufferedReader;
    import java.io.IOException;...
  2. Replies
    10
    Views
    3,478

    Re: Creating a transfer function for a ATM simulation

    What im trying to do there is if the withdraw amount is greater than the balance amount then deny it.
  3. Replies
    10
    Views
    3,478

    Re: Creating a transfer function for a ATM simulation

    I'm not sure what is supposed to be where i have placed "i"

    public void withdraw(int amount) {
    if (i > balanceAmount) {[/COLOR]
    System.out
    ...
  4. Replies
    10
    Views
    3,478

    Re: Creating a transfer function for a ATM simulation

    Cannot Find Symbol-Variable i in the Account class.
  5. Replies
    10
    Views
    3,478

    Re: Creating a transfer function for a ATM simulation

    Sorry, that should hopefully be better. =) I have included a account class but it contains errors and im not sure how i can incorporate the account class along with the ATMDataFile.




    import...
  6. Replies
    10
    Views
    3,478

    Creating a transfer function for a ATM simulation

    Hi guys, im fairly new to java so im not sure on what to do here. What i want to be able to do is be able to transfer say $100 from this account to another account.I have attached the code below.Any...
Results 1 to 6 of 6