Answer:
In Python:
def gcd(m,n):
if n == 0:
return m
elif m == 0:
return n
else:
return gcd(n,m%n)
Explanation:
This defines the function
def gcd(m,n):
If n is 0, return m
<em> if n == 0:
</em>
<em> return m
</em>
If m is 0, return n
<em> elif m == 0:
</em>
<em> return n
</em>
If otherwise, calculate the gcd recursively
<em> else:
</em>
<em> return gcd(n,m%n)</em>
<em />
<em>To call the function to calculate the gcd of say 15 and 5 from main, use:</em>
<em>gcd(15,5)</em>
a = int(input("Class A tickets sold: "))
b = int(input("Class B tickets sold: "))
c = int(input("Class C tickets sold: "))
print("Total income generated: $"+str((a*20)+(b*15)+(c*10)))
I hope this helps!
Answer:
ICICI oxidized sicken o'clock o'clock succinct
Solution:
Since no language was specified, this will be written in Python.
n1, n2, n3 = input ("Enter three names: ").split()
print(n3)
print(n2)
print(n1)
Cheers.
Answer:
The answer is "1 inch"
Explanation:
The margin is also known as space, it is the distance between the document 's text and edge. In default, its distance is 1, and it also allows you to customize, the new document, which is set to standard.
- In other words, we can say that it implies the one-inch gap between the text and each edge, which is based on your specifications.
- It also allows you to customize the margin size of the document, and other choices were wrong because it is the customize size.