Question: Create a variable for a first name. Create a variable for a last name. Prompt the user for a first name and assign the resulting
Create a variable for a first name.
Create a variable for a last name.
Prompt the user for a first name and assign the resulting value to the first name variable.
Prompt the user for a last name and assign the resulting value to the last name variable.
Output the first name variable to the page with a document.write statement.
Output a single space with a document.write
Output the last name variable to the page with a document.write statement.
Dont forget to add comments above each section.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
