Coding Challenge: Improved Hello
Let's try to take the input name from the user and then return a message.
We'll cover the following
Improved hello
Write a program that asks the user for his first and last name and returns an appropriate hello message from the sayHello() function.
Input
Enter First Name: Elton
Enter Last Name: Jhon
sayHello(Elton,Jhon);
Expected output
Hello, Elton Jhon!
Coding exercise
You have to use the arrow
function to complete the given task.
Get hands-on with 1400+ tech skills courses.