Answer:
Step-by-step explanation:
3 : 12
Both have table of 3 in common so
1 : 4 or 1/4
4 : 64
Both have table of 4 in common
1 : 16 or 1/16
Total slices=4*6=24. Take away 3 slices leaving 21=18+3=3 pizzas and ½ a pizza, 3½.
The program is an illustration of loops
<h3>What are loops?</h3>
Loops are program statements that are used to perform repetition
<h3>The main program</h3>
The program written in Python, where comments are used to explain each line is as follows:
#This initializes sum to 0
summ = 0
#This gets input for the first number
num = int(input())
#This is repeated while num is not -1
while num!= -1:
#This calculates the sum
summ+=num
#This gets input for the num
num = int(input())
#This prints the sum
print(summ)
Read more about loops at:
brainly.com/question/16397886
Yellow: 25.71% chance of you grabbing a yellow jelly bean
Green:34.29% chance of you grabbing a green jelly bean
Red: 40% chance of you grabbing a red jelly bean
0.43h + 0.65p + 1.31d = c
explanation:
h stands for hotdogs, p for pretzels, and d for drinks. c represents the total cost.
each price next to the variable describes the profit per item.
hope this helps! :D