Course Solutions Uncategorized (Answered) : What does the following statement do If(donuts ordered > 5) {price =10;}

(Answered) : What does the following statement do If(donuts ordered > 5) {price =10;}

What does the following statement do If(donuts ordered > 5) {price =10;}

Expert Answer


If(donuts ordered > 5) {price =10;}

The above statement means if the number of donuts ordered is greater than 5, then the price of donut is 10.

Leave a Reply

Your email address will not be published. Required fields are marked *

Related Post