Search:

Type: Posts; User: trancecommunity

Search: Search took 0.15 seconds.

  1. Re: Loop to deposit money into bank account array

    Should have done that already :confused:

    Seems to be working alright.

    Norm youre a great help. Thanks a million.

    One day ill look back and wonder how the hell i struggled with it but thats...
  2. Re: Loop to deposit money into bank account array

    Is this looking like its heading in the right direction?




    for(int i = 0 ; i < 2 ; i++){

    System.out.println("How much to deposit to Account " + (i + 1) + " ?");

    ...
  3. Re: Loop to deposit money into bank account array

    Bit i cant figure out is how to move to the next deposit? Switch between deposit0 and deposit1 variables. Cant figure out the use of i.




    for(int i = 0 ; i < 2 ; i++){
    ...
  4. Re: Loop to deposit money into bank account array

    Thanks. Should it take and store the variables then run the loop?


    System.out.println("How much to deposit to Account 1 ?");
    double deposit1 = EasyScanner.nextDouble();

    ...
  5. Loop to deposit money into bank account array

    Ask the user how much they would like to deposit into the first account and how much would they like to deposit into the second account. Update the accounts accordingly.

    You must use a loop here...
Results 1 to 5 of 5