Math, asked by sunilpotdar5098, 1 year ago

Given an array a of size n, find all combination of four elements in the array whose sum is equal to a given value k. For example, if the given array is {10, 2, 3, 4, 5, 9, 7, 8} and k = 23, one of the quadruple is 3 5 7 8 (3 + 5 + 7 + 8 = 23).

Answers

Answered by ajitsharma63
1
a = - 2

b = 1.3

c = - 1

x = - 3

y = - 5

z = 2
Similar questions