CJCoding With Joseph
15free / daySign inCreate account

This time you will combine two variables in a single sentence. name is set to Leo and age is set to 8. Use one template literal that inserts both variables to print My name is Leo and I am 8 years old. Watch the spacing and the period at the end so the sentence reads naturally.

Expected output

My name is Leo and I am 8 years old.

= newline. The output ends with a newline, so print one after the last line.

Hints2 available
Topics
Printing
1
Tab to indent (Esc then Tab to move on) · Ctrl+Enter to run · Shift+Alt+F to format · Ctrl+Space to expand shortcuts (clog, fn, fori)

Your output

Run your code to see the output here...

Test cases

Run your code to see test case results.