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:

19th Sep 2017, 10:22 PM
LUTHANDO SIKHOLIWE
LUTHANDO SIKHOLIWE - avatar
5 Respuestas
+ 7
You could use the concat() method :) Here's a code as an example: https://code.sololearn.com/W1mgiljZ0PDs/?ref=app
25th Sep 2017, 5:14 PM
Pao
Pao - avatar
0
THANKS
28th Sep 2017, 10:25 AM
LUTHANDO SIKHOLIWE
LUTHANDO SIKHOLIWE - avatar
0
The code does not run
22nd Sep 2018, 3:13 PM
Real South Langa
Real South Langa - avatar
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:
22nd Aug 2020, 10:54 PM
Sbahle Phumelele
0
Pao your code not display can you resent again please
16th Nov 2020, 7:03 PM
RazanSaud2018