Question: The code that can be used to add the cost of an umbrella to the total cost will be _ _ _ _ _ _

The code that can be used to add the cost of an umbrella to the total cost will be _________.
a.
if self.ui.umbrella.AddToChecked()==True:
cost=cost+20
b.
if self.ui.umbrella.Checked()==True:
cost=cost+10
c.
if self.ui.umbrella.Add()==True:
cost=cost+20
d.
if self.ui.umbrella.isChecked()==True:
cost=cost+20

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!