Pairs

Objective(s): Practice manipulating elements of an array in the context of a loop. 

Given two arrays of String objects, complete the method to return a new array consisting of all the unique pair combinations between the two arrays.

Example:

pairs({"Hi","Good"}, {"There","Bye"}) -> { "HiThere","HiBye","GoodThere","GoodBye" }
pairs({"a","b"}, {"c","d"}) -> { "ac","ad","bc","bd" }

Type your solution        
Skills Practiced:
3.C
3.D
4.A
4.B
Copyright © StudyCS 2024 All rights reserved.