/**
 * CS 149 Exercise 5.1 CodingBat Logic-1.
 *
 * @author
 * @version
 */
public class BatLogic1 {

   /**
    * The squirrels in Palo Alto spend most of the day playing. In particular,
    * they play if the temperature is between 60 and 90 (inclusive). Unless it
    * is summer, then the upper limit is 100 instead of 90. Given an int
    * temperature and a boolean isSummer, return true if the squirrels play and
    * false otherwise.
    *
    * @param temp the current temperature
    * @param isSummer true if it's summer
    * @return whether squirrels should play
    */
   public static boolean squirrelPlay(int temp, boolean isSummer) {
   }

   /**
    * You are driving a little too fast, and a police officer stops you. Write
    * code to compute the result, encoded as an int value: 0=no ticket, 1=small
    * ticket, 2=big ticket. If speed is 60 or less, the result is 0. If speed
    * is between 61 and 80 inclusive, the result is 1. If speed is 81 or more,
    * the result is 2. Unless it is your birthday -- on that day, your speed
    * can be 5 higher in all cases.
    *
    * @param speed your driving speed
    * @param isBirthday true if it's your birthday
    * @return 0=no ticket, 1=small ticket, 2=big ticket
    */
   public static int caughtSpeeding(int speed, boolean isBirthday) {
   }

   /**
    * Return the sum of two 6-sided dice rolls, each in the range 1..6.
    * However, if noDoubles is true, if the two dice show the same value,
    * increment one die to the next value, wrapping around to 1 if its value
    * was 6.
    *
    * @param die1 value of 1st die
    * @param die2 value of 2nd die
    * @param noDoubles flag for doubles
    * @return sum of the dice values
    */
   public static int withoutDoubles(int die1, int die2, boolean noDoubles) {
   }

   /**
    * Given two ints, each in the range 10..99, return true if there is a digit
    * that appears in both numbers, such as the 2 in 12 and 23. (Note:
    * division, e.g. n/10, gives the left digit while the % "mod" n%10 gives
    * the right digit.)
    *
    * @param a 1st number
    * @param b 2nd number
    * @return true if digit in both numbers
    */
   public static boolean shareDigit(int a, int b) {
   }

}
