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
So if you want it to be 9 less than your number (x) then you would subtract nine.
So it would be:
x - 9.
So if your "number" is 12 then you would substitute x for 12 and it would be 12-9. The answer is 3. So 3 is 9 less than a number (12).
I believe
Answer:
Step-by-step explanation:
<u>Coordinates of points</u>
i) lies on x- axis with abscissa - 3
- If it lies on x- axis, it has zero y-coordinate
- It is (-3, 0)
ii) lies on y-axis with ordinate 5
- It lies on y-axis, it has zero x-coordinate
- It is (0, 5)
The answer is 720 mph, since we make time the x and distance y. We use the slope formula (y2 - y1)/(x2 - x1)
(179-23)/(17-4)
156 miles/13 mins
12 miles per min
Since the answer is in hours instead of minutes, we multiply 12 by 60 to get 720 mph