+ 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
3 Answers
+ 4
MOHAMMED JADBAN
let name = prompt();
console.log("Welcome "+name+"!");
0
let name = prompt();
console.log("Welcome " + name + "!");
0
can anyone answer for the above code plz