A pair of nos. whose sum is -12 and product is -56.
Answers
Answered by
0
Step-by-step explanation:
Number of pairs in an array having sum equal to product
Given an array arr[], the task is to find the number of pairs (arr[i], arr[j]) in the array such that arr[i] + arr[j] = arr[i] * arr[j]
Examples:
Input: arr[] = {2, 2, 3, 4, 6}
Output: 1
(2, 2) is the only possible pair as (2 + 2) = (2 * 2) = 4.
Input: arr[] = {1, 2, 3, 4, 5}
Output: 0
Answered by
0
Answer:
Are u talking about free fire clock tower?
Plz mark as Brainliest and follow me
Similar questions
Sociology,
4 months ago
English,
8 months ago
Math,
8 months ago
Social Sciences,
1 year ago
Hindi,
1 year ago