Question: Locate the exercise 0 5 Part 2 ( ) function in the exercise - 0 5 . js file. Create variables for the following data:
Locate the exercisePart function in the exercisejs file.
Create variables for the following data:
a price
a second price
a total price
Prompt the user for each price and store the entered values in the variables.
Convert each entered value into a number with the Number function.
Add the first price to the second price and put the result in the total variable.
Display each entered price to the page with some text preceding it
Display the total to the page with some descriptive text.
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
