Search:

Type: Posts; User: skakels

Search: Search took 0.10 seconds.

  1. Replies
    8
    Views
    970

    Re: Help with a "switch" statement

    @Sambit - Thanks for the feedback. I removed the variable (updated code below).

    That said, it compiled and executed!!! w00t!

    I'm not going to have time to revist until tonight, so I MIGHT have...
  2. Replies
    8
    Views
    970

    Re: Help with a "switch" statement

    Hi Sambit,

    Do I really need the variable "result" in this case?

    I'm looking to accept user input using the Java Scanner. Based on said input, in this case it's "0" to terminate the loop or "1"...
  3. Replies
    8
    Views
    970

    Re: Help with a "switch" statement

    Hello,

    Basically, I'd like the code to display the menu (showMenu method). From there, expectation is for the user to either choose an option from said menu. As of right now, I only have one...
  4. Replies
    8
    Views
    970

    Help with a "switch" statement

    Hello,

    I'm relatively new to Java (less than a week into it), but I'm needing helping displaying a method using a switch statement.

    Per the code below, how do I get the program to show the...
Results 1 to 4 of 4