Math, asked by amitsinhaAmit9697, 8 months ago

Find a pair of elements from an array whose sum equals a given number

Answers

Answered by gauravarduino
0

Step-by-step explanation:

Today, we are going to look at another interesting programming question from the array; write a program to find all pairs of integers whose sum is equal to a given number. For example if input integer array is {2, 6, 3, 9, 11} and given sum is 9, output should be {6,3}.

Similar questions