0

I don't understand why the program won't stop and ask for input for "state". Someone says to use string concatenation but I don't understand how I would integrate that into the coding. Please help D:

snip of coding*

    Scanner input = new Scanner(System.in);

    System.out.println("What is the order amount?");
    double cost = input.nextInt();

    System.out.println("What is the state?");
    String state = input.nextLine();

0 Answers0