Answer:
Simple, really
Explanation:
3Rd one is pretty easy, all you have to do is read closely.
Let's say for example that the business is taking in $2000 of revenue. That is the amount that the business collected for it's services - like for fixing the computer. What if though it costs $500 for the equipment (that's an expense). Now they only made $1500. Now the customer complains and says that the computer isn't fixed properly so the company sends out a techie for 2 additional hours. They need to pay their employee (another expense). Now the $1500 is down to $1400. They would have utilities to keep their lights on and insurance and many other expenses.
Your profit looks like this:
Profit = Revenue - Expenses
Answer:
See explaination
Explanation:
class Taxicab():
def __init__(self, x, y):
self.x_coordinate = x
self.y_coordinate = y
self.odometer = 0
def get_x_coord(self):
return self.x_coordinate
def get_y_coord(self):
return self.y_coordinate
def get_odometer(self):
return self.odometer
def move_x(self, distance):
self.x_coordinate += distance
# add the absolute distance to odometer
self.odometer += abs(distance)
def move_y(self, distance):
self.y_coordinate += distance
# add the absolute distance to odometer
self.odometer += abs(distance)
cab = Taxicab(5,-8)
cab.move_x(3)
cab.move_y(-4)
cab.move_x(-1)
print(cab.odometer) # will print 8 3+4+1 = 8
Answer:
b) iteration.
Explanation:
There are various algorithms which are used in computer programming. Iteration is also a type of algorithm which is used to create loops. The instructions are inserted once and then these instructions are repeated to create a loop function.