Okay, I have made some indentations at key points and just including the final loop. This is the part I want fixed.
String reply = JOptionPane.showInputDialog
(null, "Enter 'E' to buy...
Type: Posts; User: JohnEliot
Okay, I have made some indentations at key points and just including the final loop. This is the part I want fixed.
String reply = JOptionPane.showInputDialog
(null, "Enter 'E' to buy...
Okay I have enclosed the loop, but it still won't repeat when yes is selected. I have also attempted to make the program more readable with indentations
import javax.swing.JOptionPane;
public...
import javax.swing.JOptionPane;
public class program7 {
public static void main(String[] args) {
//ask user how many euros a dollar buys
String euroExchangeRateString =...