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
I can't tell what it wants to say in the first part, but I'll do A and B for you.
Because all triangle angles add to 180 degrees, you know that angle PMU is 180-21+35 which is 124.
So a) is 124 degrees
And for b) you take the straight line and you know its 180 degrees. Knowing that angle UMP adds up to 180 degrees when added to PMU which is 124, then you subtract 180 - 124
So b) is 56 degrees.
Hope this helps
Also I can help you with the first 4 if I can see the question.
Answer:
53y
General Formulas and Concepts:
<u>Pre-Algebra</u>
Order of Operations: BPEMDAS
- Brackets
- Parenthesis
- Exponents
- Multiplication
- Division
- Addition
- Subtraction
<u>Algebra I</u>
Step-by-step explanation:
<u>Step 1: Define</u>
38y + 15y
38 and 15 are <em>coefficients</em>
<em>y</em> is a term
<em>Since they are like terms, they can be combined</em>
<em />
<u>Step 2: Add</u>
38 + 15 = 53
53y