title: How do yo randomly assign a value to a variable?
body: <p>How do I assign a random value to a variable "myVariable" to either be "a", "b", or "c"? I was trying the following, but get several errors:</p>
  
  <pre><code>Random r = new Random();
  String i = r.next()%33;
  switch (i) {
    case 0:
      myVariable = "a";
    case 1:
      myVariable = "b";
    case 2:
      myVariable = "c";
  }
  </code></pre>