If a square lies inside a rectangular, then area of the square is less than the rectangle . true or false
Answers
Answered by
0
Step-by-step explanation:
Given coordinates of bottom-left and top-right corners of a rectangle. Check if a point (x, y) lies inside this rectangle or not.
Examples:
Input: bottom-left: (0, 0), top-right: (10, 8), point: (1, 5)
Output: Yes
Input: bottom-left: (-1, 4), top-right:(2, 3), point:(0, 4)
Output: No
Answered by
8
Answer:
True
Step-by-step explanation:
Yes, If a square lies inside a rectangular, then area of the square is less than the rectangle.
Similar questions
Examples:
Input: bottom-left: (0, 0), top-right: (10, 8), point: (1, 5)
Output: Yes
Input: bottom-left: (-1, 4), top-right:(2, 3), point:(0, 4)
Output: No