asked 115k views
5 votes
Food1 = "water"

food2 = "melon"

What is the correct way to concatenate the strings?

newFood = word1 == word2
newFood = word1 + word2
newFood = word1 * word2
newFood = word1 - word2

2 Answers

2 votes
Food3= “Watermelon” because if you put them both together
answered
User Reusable
by
7.3k points
5 votes
newFood = word1 + word2
answered
User Martin Ch
by
7.9k points
Welcome to Qamnty — a place to ask, share, and grow together. Join our community and get real answers from real people.