@@ -0,0 +1,350 @@
+// http://codingbat.com/prob/p159531%0A%0Apublic boolean cigarParty(int cigars, boolean isWeekend) %7B%0A  boolean partyIsSuccessful;%0A  %0A  boolean cigarsInRange = (cigars %3E= 40 && cigars %3C= 60);%0A  if (cigarsInRange %7C%7C (isWeekend && cigars %3E= 40)) %7B%0A    partyIsSuccessful = true;%0A  %7D%0A  else %7B%0A    partyIsSuccessful = false;%0A  %7D%0A%0A  return partyIsSuccessful;%0A%7D%0A

Create cigarParty.java