Driver Code
public static void main ( String args [ ] ) { int rectangle [ ] [ ] = { { 0 , 0 } , { 0 , 5 } , { 5 , 0 } , { 5 , 5 } } ; int points [ ] [ ] = { { 1 , 2 } , { 3 , 4 } } ; int N = points . length ; System . out . println ( cntRect ( points , N , rectangle ) ) ; } }