CSC 207 - Quiz 6


Name:

Given a non-empty string like "Code" write a function stringSplosion(s) that will return a string like "CCoCodCode".

Examples:

stringSplosion("Code") returns "CCoCodCode"
stringSplosion("abc") returns "aababc"
stringSplosion("x") returns "x"