Problem Definition:
Problem: Given an array of
integers print all pairs of integers a and b where
a + b is equal to a given
number.
For example, consider the following
array and suppose we want to find all pairs of integers a and b
where a + b = 16
A= [ 10, 4, 6, 15, 3, 5, 1, 13]
The following are pairs that sum to 16:
13, 3
6, 10
15, 1
Your program should print these...