mirror of
https://github.com/github/semantic.git
synced 2024-12-26 08:25:19 +03:00
18 lines
331 B
Java
18 lines
331 B
Java
public class Test
|
|
{
|
|
public static void main(String[] args)
|
|
{
|
|
int day = 5;
|
|
int cupcakes = 2;
|
|
|
|
switch (day)
|
|
{
|
|
case 1: cupcakes = 1;
|
|
break;
|
|
default: cupcakes = 2;
|
|
break;
|
|
}
|
|
System.out.println(dayString);
|
|
}
|
|
}
|