Search:

Type: Posts; User: Spanky_10

Search: Search took 0.16 seconds.

  1. Replies
    10
    Views
    3,294

    Re: Implementing the switch statement

    so completely take out the string = x; and delete the switch (x) but replace it with just int?
  2. Replies
    10
    Views
    3,294

    Re: Implementing the switch statement

    public class StudentInformation
    {
    public static void main (String [] args)
    {
    String x;
    for (int n = 12; n >= 1; n--)
    {
    System.out.println ("On the "...
  3. Replies
    10
    Views
    3,294

    Re: Implementing the switch statement

    So the switch statement without a break will print 3 when i call it and then it will also print 2 and 1 after it or do I need to print them backwards so 12 is the first case and 1 is the last case...
  4. Replies
    10
    Views
    3,294

    Re: Implementing the switch statement

    i did look at that but I don't understand how I can print the first line, then the second line but changing it to "2nd day" and reprinting the first line.
  5. Replies
    10
    Views
    3,294

    Implementing the switch statement

    This is the problem I have to do for a lab. I am not asking anyone to do the work for me but if they could just start it because I have no idea and my textbook doesn't help me very much with this...
Results 1 to 5 of 5