← Back to Strings
Question 303
Join First and Last Name
Join First and Last Name
You can glue strings together with the + operator; this is called concatenation. You are given two strings, first set to "Ada" and last set to "Lovelace". Print the full name by joining first, a single space, and last so the output reads "Ada Lovelace". The space in the middle is its own little string, " ", that you add between the two names.
Expected Output:
Ada Lovelace= newline. The output ends with a newline — print one after the last line.
Hints2 available
Sign in to use hintsTopics:
Strings
1
Tab to indent (Esc then Tab to move on) · Ctrl+Enter to run · Shift+Alt+F to format · Ctrl+Space to expand shortcuts (cw, cr, fori)
Your Output
Run your code to see the output here...
Test Cases
Run your code to see test case results.