Math, asked by Anonymous, 8 months ago

A pair of nos. whose sum is -12 and product is -56.

Answers

Answered by ishwarchandpandey197
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 rohin111bhattacharya
0

Answer:

Are u talking about free fire clock tower?

Plz mark as Brainliest and follow me

Similar questions