Search:

Type: Posts; User: Stum

Search: Search took 0.09 seconds.

  1. Replies
    4
    Views
    863

    Re: Switch case with nested if inside

    If i understood you correctly you wish to see an example of a switch being implemented in if-else methods.
    If you're trying to decide which is better, know that in practice, they function almost...
  2. Replies
    4
    Views
    607

    Re: Having a bit of trouble with an array

    Cornix is right.
    You excluded the userInput from being assigned to storeNumber by not placing it within the For loop



    for(int i = 0; i < 10; i++) {
    userInput =...
Results 1 to 2 of 2