red
The following code should return "Your name is Carly and your favorite color is red"
without the quotes. Finish the code to return the output correctly using the variables provided.
Make sure you only have one return line per branch. In these introductory unit 1 problems, there is only one flow for the program so there should only be one return line which ends the execution of the method.
In this problem, you are practicing concatenating Strings and String literals. Even though you can return it as a full string, knowing you can concatenate is important.
Type your solution
Skills Practiced:
4.A
4.B
Saved
Saved