graph a piecewise defined function

graph a piecewise defined function

enum=6 four=4 three=1

Suppose that the function h is defined on the interval [-2,2) as follows. 

h(x)=   {-2     if -2 ≤ x < -1

          {-1     if -1 ≤ x < 0

           {0      if 0 ≤ x < 1

           {1      if 1 ≤ x < 2