"""
CSC120 Fall 2018 - Exercise 2
This file contains the functions for E2.
Note: Do NOT leave any print statements in
this file when you submit it.
"""

def is_jen(person: str) -> bool:
    """Return True iff person's first name is 'Jen'.
    (Note: be careful, the string 'Jen' could appear anywhere in the 
    name - you're only looking for the first name).
    
    >>> is_jen('Jen Campbell')
    True
    >>> is_jen('Jim Jenson')
    False
    >>> is_jen('Jenny Smith')
    False
    
    Preconditon: person is a string containing a a first name, followed by 
    a space, followed by a last name.  There is only one space in the string, 
    between the first name and the last name.
    """
    
    # Add your code here
    

def get_letter_grade(percent_grade: int) -> str:
    """Return the letter grade corresponding to percent_grade 
    based on the following range scale:
    
    80-100: 'A'
    70-79:  'B'
    60-69:  'C'
    50-59:  'D'
    < 50:   'F'
    
    You do not need to consider - or + grades (like A+ or B-).
    
    >>> get_letter_grade(96)
    'A'
    >>> get_letter_grade(60)
    'C'
    
    Precondition: 0 <= percent_grade <= 100
    """
    
    # Add your code here
    

def ice_cream_price(num_scoops: int, chocolate: bool, caramel: bool, sprinkles: bool) -> float:
    """Return the total price of an ice cream order with num_scoops number of
    scoops. Each scoop costs $2.50.
    
    The values of chocolate, caramel, and sprinkles indicate whether or not the
    customer wants certain toppings (a value of True means they want 
    that topping).
    
    Each topping is an extra $0.50.  However, a customer is not allowed to order
    chocolate and caramel together.  If they do this, a price of -1.0 should be 
    returned, indicating a bad order.
    
    The maximum number of scoops for an order is 3.  If num_scoops is more
    than 3, a price of -1.0 should be returned.
    
    Hint: think about the order in which you write the conditions.
    
    Precondition: num_scoops > 0
    
    >>> ice_cream_price(3, True, False, True)
    8.5
    >>> ice_cream_price(2, True, False, False)
    5.5
    >>> ice_cream_price(23, True, False, False)
    -1.0
    >>> ice_cream_price(3, True, True, True)
    -1.0
    """
    
    # Add your code here
    
