Search:

Type: Posts; User: Knowledge_Feeds_The_Mind

Search: Search took 0.09 seconds.

  1. [SOLVED] Re: Simple Question: How do I input an exit code into my program?

    That solved it, thanks a bunch. :)
    :D
  2. [SOLVED] Simple Question: How do I input an exit code into my program?

    I just want to know how I can get my program to end when the user inputs "0." By using: System.exit(0);



    import java.util.Scanner;

    public class TestCode
    {
    public static void main...
Results 1 to 2 of 2