Logo 
Search:

Java Forum

Ask Question   UnAnswered
Home » Forum » Java       RSS Feeds

need line in retangle classifier program source code

  Asked By: Shaima    Date: Aug 28    Category: Java    Views: 1401
  

hello,
please could you help me in programing this problem...

Line in a Rectangle Problem (Rectangle): This program takes eight real inputs, four of which represent the coordinates of a rectangle and other four represents the coordinates of a line. The program determines the position of the line with respect to the position of rectangle and generates one out of four possible outputs:

(A) The line is completely inside the rectangle;
(B) The line is completely outside the rectangle;
(C) The line is partially covered by the rectangle; and
(D) Error: The input values do not define a line and/or a rectangle.

thanks

Share: 

 

No Answers Found. Be the First, To Post Answer.

 
Didn't find what you were looking for? Find more on need line in retangle classifier program source code Or get search suggestion and latest updates.




Tagged: