Using Java. When gears merge and work together, one teeth from each one goes in order. Write a method mergeStrings that will return the strings merged, one letter at a time, starting with one. Please...


Using Java.


When gears merge and work together, one teeth from each one goes in order.


Write a method mergeStrings that will return the strings merged, one letter at a time, starting with one. Please noteone andtwo can be of different lengths. Please look at below examples:


s1 ==> "12345" s2 ==> "abcde" mergeStrings(s1,s2) ==> "1a2b3c4d5e" mergeStrings("wooden", "spoon") ==> "wsopoodoenn" mergeStrings("java", "selenium") ==> "jsaevlaenium"



Jun 05, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here