A = ( 0 , 9 ) , B = ( - 1 , 0 ) , C = ( 5 , - 1 ) , D = ( 0 , 3 )
p1 . x = 0 , p1 . y = 9 ; p2 . x = -1 , p2 . y = 0 ; p3 . x = 5 , p3 . y = -1 ; p4 . x = 0 , p4 . y = 3 ; cout << no_of_quads ( p1 , p2 , p3 , p4 ) << endl ;