Search:

Type: Posts; User: endframe

Search: Search took 0.96 seconds.

  1. Replies
    5
    Views
    428

    Re: Help in looping

    Thanks guys, it worked and now I understand what was wrong.
    Best wishes to all.
  2. Replies
    5
    Views
    428

    Re: Help in looping

    Exception in thread "main" java.lang.StringIndexOutOfBoundsException: String index out of range: 0
    at java.lang.String.charAt(String.java:686)
    at BankSystem.main(BankSystem.java:49)
  3. Replies
    5
    Views
    428

    Help in looping

    So, here's my code. I have a runtime error and I think there's a problem in the loop in it but I can't figure it out.




    import java.util.Scanner;
    public class BankSystem
    {
    ...
Results 1 to 3 of 3