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:
-14/15
Step-by-step explanation:
First, you want to turn each mixed number into an improper fraction. So you get -10/3 + 12/5. Then you want to get the same denominator, and the LCD happens to be 15. You get -50/15 + 36/15. Addition is commutative, so you can do something like this: 36/15 - 50/15. You can do 36-50=-14, and then add the denominator to get -14/15.
Answer:
28 yards
Step-by-step explanation:
It's perimeter so you add (6x2)+(8x2)
The x2 is because there's 2 of each side
Answer: I took it last year as a junior, what is the questions tho?
Answer:
76,800 subscribers :)
Step-by-step explanation:
Initially: 4,800
3 years: If the number of subscribers is doubling every 3 years, all you have to do is multiply it by 2.
4,800 · 2 = 9,600
So, after 3 years, they have 9,600 subscribers.
6 years: Now that the health blog has 9,600 subscribers, you need to multiply THAT number by 2.
9,600 · 2 = 19,200
Now the blog has 19,200 subscribers
9 years: Now, we just repeat what we've been doing for the other 6 years: multiply the blog's current subscriber count by 2.
19,200 · 2 = 38,400
12 years: Once more and we'll have our answer! Sub count is 38,400. Now double it.
38,400 · 2 = 76,800
Hope this helps! :)