Search:

Type: Posts; User: YourCrazyFriend

Search: Search took 0.11 seconds.

  1. Re: How can I create a global or local script terminater?

    I don't know if I did it the correct way, but this is where I have gotten so far. This code is not working yet.


    Scanner scn = new Scanner(System.in);
    double nr1, nr2, answer;...
  2. How can I create a global or local script terminater?

    I tried this,


    System.out.println("Enter your number: ");
    nr1 = scn.nextDouble();
    if(nr1.equals("stop") || nr1.equals("Stop")){
    String nr1 = nr1(double);...
Results 1 to 2 of 2