Skip to content

Instantly share code, notes, and snippets.

@KowalczykBartek
Created February 15, 2015 01:53
Show Gist options
  • Save KowalczykBartek/a16501c01ecc1e1bd93c to your computer and use it in GitHub Desktop.
Save KowalczykBartek/a16501c01ecc1e1bd93c to your computer and use it in GitHub Desktop.
switch (dzienTygodnia) {
case "Poniedzialek":
System.out.println("Początek tygodnia");
break;
case "Wtorek":
case "Sroda":
case "Czwartek":
System.out.println("Jeszcze trochę !");
break;
case "Piatek":
System.out.println("Piątuniooooo");
break;
case "Sobota":
case "Niedziela":
System.out.println("Weekend");
break;
default:
System.out.println("Cos nie tak");
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment