CJCoding With Joseph
15per day

Print a Sentence from Variables

A name and a number of items are given. Use a template literal to print a sentence.

For name = "Mia" and items = 3 the program prints:
Mia has 3 items in the cart

Expected Output:

Mia has 3 items in the cart
Topics:
Printing
Code Editor
1
Tab to indent ยท Ctrl+Enter to run ยท 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.