Math, asked by kumarnatik274, 2 months ago

The product of two integer is between
-16 and 20 Find at least five such pairs

Answers

Answered by geetasingh231965
0

Step-by-step explanation:

Input: arr[] = { 1, 2, 4, 8, 5, 6}

Output: 2

Explanation:

The pairs such that product of element is perfect square are (1, 4) and (8, 2).

Input: arr[] = { 1, 2, 3, 4, 5, 6, 7, 8, 9 }

Output: 4

Explanation:

The pairs such that product of element is perfect square are (1, 4), (1, 9), (2, 8) and (4, 9).

Similar questions