+ 1

what is wrong ?

question: You are organizing an important event and you should greet each participant with a welcome message․ The given program takes the name of the guest as input. Task Complete the program to output the welcome message in the format given in the sample output. Sample Input Tom Sample Output Welcome, Tom! level Use + operator to concatenate "Welcome, ", the name variable, and the "!". my solution console.log("Welcome," + name+"!"); name is decalred by sololearn

3rd Sep 2023, 7:07 PM
MOHAMMED JADBAN
3 odpowiedzi
+ 4
MOHAMMED JADBAN let name = prompt(); console.log("Welcome "+name+"!");
3rd Sep 2023, 7:16 PM
BroFar
BroFar - avatar
0
let name = prompt(); console.log("Welcome " + name + "!");
6th Sep 2023, 6:27 AM
Fabian Roy
Fabian Roy - avatar
0
can anyone answer for the above code plz
5th Oct 2023, 6:40 AM
Uma Sankari
Uma Sankari - avatar