Before software can be reusable it first has to be usable. Ralph Johnson

Find a pair of elements from an array

Language Java | Level Intermediate | Category Data structure | September 9, 2015 10:01 am


Data structure Description

Write a program to find a pair of numbers from the array.


Output

   					 

The list of array items: [2, 45, 7, 3, 5, 1, 8, 9]
3, 7 = 10
8, 2 = 10
9, 1 = 10

				    

Comments


No comments available!

Please login to add comments.