Computer Science, asked by kaushal50, 1 year ago

write a BASIC program to find the sum of all even numbers upto 100

Answers

Answered by shashanksen16
1
sum= n/2(2a+(n-1)×d)
where a= 1st even number.
d= difference which is equal in each succeeding even number.
n= no . of even numbers.
Answered by saiftorabigmailcom
1

find \: all \: numbers \: seperate \: the \: odd \: then \: sum \: the \: even \:
Similar questions