Write the coordinates of any two points which lie on the line-x + y = -7. How many such point exists?
Answers
Answer:
write the coordinates fo any two points which lie no the line -x+y=-7 How mony such point exists
Step-by-step explanation:
Radius = 8
StartAngle = 0
Percentage = 12
x = 3 y = 4
Output : Point (3, 4) exists in the circle
sector
Input : Radius = 12
Startangle = 45
Percentage = 25
x = 3 y = 4
Output : Point (3, 4) does not exist in
the circle sector
bro please mark as best answer and thank please
Input: A[] = {1, 0, 2, 1, 1}, B[] = {1, 1, 1, 0, 2}, K = 1
Output: Yes
Explanation:
Consider a point P(1, 1), then the Manhattan distance between P and all the given points are:
Distance between P and (A[0], B[0]) is |1 – 1| + |1 – 1| = 0.
Distance between P and (A[1], B[1]) is |1 – 0| + |1 – 1| = 1.
Distance between P and (A[2], B[2]) is |1 – 2| + |1 – 1| = 1.
Distance between P and (A[3], B[3]) is |1 – 1| + |1 – 0| = 1.
Distance between P and (A[4], B[4]) is |1 – 1| + |1 – 2| = 1.
The distance between all the given points and P is at most K(= 1). Therefore, print “Yes”.
Input: A[] = {0, 3, 1}, B[] = {0, 3, 1}, K = 2
Output: No