Question: Write a function string_reverse/2. The first argument is the string and the second argument is the output. Hint: you can use the functions string_chars/2 and
Write a function string_reverse/2. The first argument is the string and the second argument is the output.
Hint: you can use the functions string_chars/2 and reverse/2 for this.
In [ ]:
%%CONSULT%Your code hereIn [ ]:
string_reverse("happy","yppah").In [ ]:
string_reverse("","").Step by Step Solution
There are 3 Steps involved in it
The detailed answer for the above question is provided below To implement the stringreverse2 funct... View full answer
Get step-by-step solutions from verified subject matter experts
