← Back to Printing
Question 80
Joining Words With Plus
Joining Words With Plus
Two strings are declared. Print two lines of output: first the two strings joined with +, which glues them with no space, then the two strings passed to print as separate values, which shows them with a space between. Input: none; the values are fixed in the code.
Expected Output:
HelloMaya Hello Maya
= newline. The output ends with a newline — print one after the last line.
Hints2 available
Sign in to use hintsTopics:
PrintingOperators
1
Tab to indent (Esc then Tab to move on) · Ctrl+Enter to run · Ctrl+Space to expand shortcuts (pr, inp, def)
Your Output
Run your code to see the output here...
Test Cases
Run your code to see test case results.