write a BASIC program to find the sum of all even numbers upto 100
Answers
Answered by
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.
where a= 1st even number.
d= difference which is equal in each succeeding even number.
n= no . of even numbers.
Answered by
1
Similar questions
Math,
8 months ago
Social Sciences,
8 months ago
Physics,
1 year ago
Math,
1 year ago
English,
1 year ago