Welcome to Westonci.ca, the place where your questions find answers from a community of knowledgeable experts. Join our platform to connect with experts ready to provide accurate answers to your questions in various fields. Explore comprehensive solutions to your questions from knowledgeable professionals across various fields on our platform.
Sagot :
Answer:
Explanation:
The following program is written in Javascript. It creates a prompt that asks the user for his/her name and saves it in a variable called userName. Then it uses that variable to welcome the user. A test case is shown in the images below with the desired output.
let userName = prompt("Enter Your Name")
alert(`Hello ${userName}`)
We hope our answers were helpful. Return anytime for more information and answers to any other questions you may have. Thanks for using our service. We're always here to provide accurate and up-to-date answers to all your queries. Your questions are important to us at Westonci.ca. Visit again for expert answers and reliable information.