Answer:
90.
Step-by-step explanation:
We have two lines of code:
y ← x + x + x + x + x
z ← y + y + y
and, x=6 before the execution. Then, when the program starts to run we obtain:
y ← 6 + 6 + 6 + 6 + 6
y ← 30
z ← 30+30+30
z ← 90.
Then, the value of z after excecution is 90.
There is nothing to help with...
Answer:
12.5%
Step-by-step explanation:
There is only 1 seven card from the 8 total cards.
1 out of 8.
1/8 = 0.125
P(7) = 12.5%
Answer:
8/27 cups
Step-by-step explanation:
Nima uses 2/3 cups of peanuts to make a recipe of 2 1/4 = 9/4 cups of trail mix. If we want to find how many cups of peanuts are there per cup of trail mix, we can do a rule of three:
If 9/4 cups of trail mix need 2/3 cups of peanuts, 1 cup of trail mix need X cups of peanuts:
9/4 cups of trail mix -> 2/3 cups of peanuts
1 cup of trail mix -> X cups of peanuts
9/4 / 1 = 2/3 / X
9/4 = 2/(3*X)
3*X*9 = 4*2
27*X = 8
X = 8/27 cups