Answer:
For blue its 3/12 = 1/4 = 25%
For red it's 6/12= 1/2= 50%
For green 2/12= 1/6= 17%
For black 1/12= 8%
Step-by-step explanation:
All you have to do is add up all the marbles 3 + 6 + 2 + 1 = 12 and then you put the number of marbles for each color and divide it by 12 which gives you those percentages. I don't know if you wanted the answers in percentages or fractions so I gave you both . Good luck!!
the answer to your question is x= -2
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
Answer:15. 5/8 = 0.625
Step-by-step explanation: