@@ -0,0 +1,786 @@
+%0A// http://codingbat.com/prob/p103360%0A%0Apublic int dateFashion(int you, int date) %7B%0A  int fashionLevel = -1;%0A  %0A  boolean someoneIsVeryFashionable = (you %3E= 8 %7C%7C date %3E= 8);%0A  boolean someoneIsVeryUnfashionable = (you %3C= 2 %7C%7C date %3C= 2);%0A  %0A  if (someoneIsVeryFashionable) %7B%0A    fashionLevel = 2;%0A  %7D%0A  %0A  if (someoneIsVeryUnfashionable) %7B%0A      fashionLevel = 0;%0A  %7D%0A  %0A  if (!someoneIsVeryFashionable && !someoneIsVeryUnfashionable) %7B%0A    fashionLevel = 1;%0A  %7D%0A  %0A  return fashionLevel;%0A%7D%0A%0A// CodingBat better solution%0A%0A/*%0A%0Apublic int dateFashion(int you, int date) %7B%0A  // Check the %3C=2 case first, since it takes precedence%0A  // over the %3E=8 case.%0A  if (you %3C= 2 %7C%7C date %3C= 2) %7B%0A    return 0;%0A  %7D%0A  else if (you %3E= 8 %7C%7C date %3E= 8) %7B%0A    return 2;%0A  %7D%0A  else %7B%0A    return 1;%0A  %7D%0A%7D%0A%0A*/%0A

Create dateFashion.java