Search:

Type: Posts; User: curmudgeon

Search: Search took 0.11 seconds.

  1. Replies
    7
    Views
    1,627

    Re: How can I make a loop repeat?

    Let me repost some of your code:



    String reply = JOptionPane.showInputDialog(null,
    "Enter 'E' to buy Euros, 'P' to buy Punds or 'Y' to buy Yen");
    char firstChar =...
  2. Replies
    7
    Views
    1,627

    Re: How can I make a loop repeat?

    I agree with Zyrion. It's hard to see what block of code encloses another block of code if your indentation style is wrong. You should indent each block about 3 spaces to the right of the indentation...
  3. Replies
    7
    Views
    1,627

    Re: How can I make a loop repeat?

    Please edit your code so that its format is readable including using standard and consistent indentation. Next, any code that you want to repeat must be enclosed in a loop, and I don't see you doing...
Results 1 to 3 of 3