so completely take out the string = x; and delete the switch (x) but replace it with just int?
Type: Posts; User: Spanky_10
so completely take out the string = x; and delete the switch (x) but replace it with just int?
public class StudentInformation
{
public static void main (String [] args)
{
String x;
for (int n = 12; n >= 1; n--)
{
System.out.println ("On the "...
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...
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.
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...