ellabarzyk7783 ellabarzyk7783
  • 21-01-2021
  • Engineering
contestada

Write a program to find the summation of the numbers from 5 to 15

Respuesta :

samuelonum1
samuelonum1 samuelonum1
  • 21-01-2021

Answer:

See the code in the explanation section

Explanation:

Note: the code below is writen in Python language

lower = int(input("Enter lower bound of range: "))

upper = int(input("Enter upper bound of range: "))

sum = 0

for i in range(lower, upper + 1):

 sum = sum + i

 i = i + 1

print("Sum is ", sum)

Answer Link

Otras preguntas

Solve the inequality
HURRY PLEASE!! I’ll mark you as brainiest!! 38 points Write a system of equations to describe the situation below, solve, and write as an ordered pair (with num
Ejercicio 1: Un cuerpo gira en un círculo de 8cm de diámetro con una rapidez constantede 7km/h. ¿Cuál es la aceleración centrípeta expresada en m/s? Recordar qu
{(12,6), (8,4) , (14,7), (-6, -3)} Identify the constant and equation of the ordered pair
Explain the importance of the Sumerian writing system.
Given the function f(x) shown graphed on the grid, create a graph for each of the following functions and label on the grid
Will give brainliest please help
ANSWER NOW PLEASE!!! to improve roads. After 1910, local municipalities faced increasing pressure from A. the federal government B. the mining industry C. autom
The height h, in feet, of objects such as thrown balls can be modeled as a function of time t, in seconds, as h(t)=−16t2+v0t+h0, where the initial upward veloci
-6.6k-5.3k+-11.9 I NEEDITH THE ANSWERITH