There’s an old story about the person who wished his computer were as easy to use as his telephone. That wish has come true, since I no longer know how to use my telephone. Bjarne Stroustrup

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.