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
According to a calculator, this is the answer: 0.1923076923. Hope this helped?
Answer:
x=(3,1/4)
Step-by-step explanation:
Be sure to use the formula...
- First, move all variables to one side (left) of the equation. You want one side to be equivalent to zero.
-Next, you need to find a, b, and c. This should be...
a=4
b=-13
c=3
- Knowing this, fill in these variable to go along with the formula. I cannot do this for you, as you should try it on your own. But, you should end up with the solution x= (3,1/4).
- Hope this helps! If you need a further explanation or help on any more problems please let me know, as I would be glad to help anytime.
4/5 because 8/10 is equal to 4/5 which is the simplest form<span />
Answer:
Step-by-step explanation:
Eliminate the y terms by adding the equations together:
-10y+9x = -9
10y+5x = -5
——————-
14x = -14
x = -1
y = 0