Computer Science, asked by DollySingh231206, 3 months ago

3. Program to find the sum of all even numbers from m to n, where m and n are input by the user.
4. Program to display the multiplication table of a number entered by the user, up to 10 times.
( in loop)​

Answers

Answered by atulkumargpt
7

Explanation:

3)ka ans

#python......

n = int(input("value of n = "))

m = int(input(" value of m = "))

total = 0

for i in range(n, m+1):

if i%2 == 0

total += i

print("sum of even number = ",total)

4) ka ans

#python

n = int(input("value of n = "))

for i in range(1,11):print(n*i)

Similar questions