driver code
var h = 0 , k = 0 , x = 2 , y = 1 , a = 4 ; if ( checkpoint ( h , k , x , y , a ) > 0 ) document . write ( " " ) ; else if ( checkpoint ( h , k , x , y , a ) == 0 ) document . write ( " " ) ; else document . write ( " " ) ;