Problem Text :

Write a function GetUniqueOnes, which accepts a single argument. The argument is an array of integers, and the function should return the unique integers separated by commas.

For Example : GetUniqueOnes($arr)

$arr = array(34,54,67,68,141,151,161,141,54,151,54)

should return
34,54,67,68,141,151,161

 

Please Share your Answer in Comment Box:

You must be logged in to post a comment.