Search:

Type: Posts; User: Sambit

Search: Search took 0.13 seconds.

  1. Replies
    8
    Views
    972

    Re: Help with a "switch" statement

    You are printing the result value toward the end of the program. So, i didnt asked anything about this.
    But i feel, result variable wont be required. You can remove that, and program will still work...
  2. Replies
    8
    Views
    972

    Re: Help with a "switch" statement

    In the code "s result = 0;" s does not signify any data type. Please change it.
    Hope you have imported all the java packages.
    Are you using an IDE like eclipse or netbeans, or just writing code in...
Results 1 to 2 of 2