IF Foston is directly between this means Foston is y the middle, so there is the same distance from Foston to Liberty and from Foston to West Quall = 4 inches
Answer: three pieces.
The piece of wood is 6/8 inches long - this fraction can be simplified to 3/4 by dividing both the numerator and denominator by 2.
Thus, he cuts a piece of wood that is 3/4 inches long into 1/4 inch pieces.
1 goes into 3 three times, so the piece of wood can be cut into three 1/4-inch pieces.
Answer:
C
Step-by-step explanation:
Answer:
Written in Python
def sums(n):
total = 0
for i in range(1,n+1):
if i%2 == 0:
total = total + i*2
else:
total = total + i
return(total)
Step-by-step explanation:
The function is written in Python
def sums(n):
This initializes total to 0
total = 0
This iterates through the integers that makes up n i.e. 1,2,3.....n
for i in range(1,n+1):
This checks if current digit is even
if i%2 == 0:
If yes, it adds the double of the digit
total = total + i*2
else:
If otherwise, it adds the digit
total = total + i
This prints the calculated sum or total
return(total)
To call the function from main, use the following:
print(sums(n))
Where n is a positive integer. i.e. 