write a program to find the sum of all even numbers from 1 to 20 in notepad
Answers
Answered by
1
In python:-
no=2
for no <= 20:
sum=0
sum=no+sum
no+=2
print(sum)
Similar questions
English,
7 months ago
Sociology,
7 months ago
English,
7 months ago
Math,
1 year ago
Environmental Sciences,
1 year ago