P . y = 28 ; P ( 15 , 28 )
int direction = directionOfPoint ( A , B , P ) ; if ( direction == 1 ) Console . WriteLine ( " Right ▁ Direction " ) ; else if ( direction == - 1 ) Console . WriteLine ( " Left ▁ Direction " ) ; else Console . WriteLine ( " Point ▁ is ▁ on ▁ the ▁ Line " ) ; } }