0
Write a javascript program that asks the user to enter his or her first name
Write a javascript program that asks the user to enter his or her first name and then last name, and then constructs, stores, and displays a third string consisting of the user’s last name followed by a comma, a space, and first name. Use string objects and methods from the string header file. A sample run could look like this:
5 Respuestas
+ 7
You could use the concat() method :)
Here's a code as an example:
https://code.sololearn.com/W1mgiljZ0PDs/?ref=app
0
THANKS
0
The code does not run
0
Write a javascript program that asks the user to enter his or her first name and then last name, and then constructs, stores, and displays a third string consisting of the user’s last name followed by a comma, a space, and first name. Use string objects and methods from the string header file. A sample run could look like this:
0
Pao your code not display can you resent again please