Question: Question 3 0 2 pts The JavaScript statement let pizzaPrice = rewardscustomer ? 2 0 . 0 : 1 8 . 5 ; assigns the

Question 30
2 pts
The JavaScript statement let pizzaPrice = rewardscustomer ?20.0:18.5;
assigns the value 18.5 to the variable PizzaPrice if the value of rewardscustomer is true
assigns the value of rewardscustomen to the variable pizzaPrice if it is between 20.0 and 18.5
assigns the value of rewardscustomer to the variable pizzaPrice because 20.0 is greater than 18.5
assigns the value 18.5 to the variable pizzaPrice if the value of rewardscustomer is undefined
 Question 30 2 pts The JavaScript statement let pizzaPrice = rewardscustomer

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!