Driver code
var x1 = - 10 , y1 = 8 ; var x2 = 14 , y2 = - 24 ; var r1 = 30 , r2 = 10 ; var t = circle ( x1 , y1 , x2 , y2 , r1 , r2 ) ; if ( t == 1 ) document . write ( " " ) ; else if ( t < 0 ) document . write ( " " ) ; else document . write ( " " ) ;