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
User Reusable
by
5.7k points
5 votes
newFood = word1 + word2
User Martin Ch
by
6.4k points