Exercise:   Creating Contracts From Examples

Exercise: Creating Contracts From Examples

Directions: For each of the following collections of Examples, write the contract for the function above the examples.
  1. ; : ->  
  2. ; : ->  
  3. ; : ->  
  4. ; : ->  
  5. ; : ->  
  6. ; : ->