Question: What value will the variable $net _ price contain after the code that follows is executed? $list _ price = 1 0 0 . 0

What value will the variable $net_price contain after the code that follows is executed?
$list_price =100.00;
$discount_percent =20;
$discount_amount = $list_price * $discount_percent *.01;
$net_price = $list_price - $discount_amount;
Question 6 options:
A)
20
B)
60
C)
80
D)
100

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!