python program to find the sum of natural numbers from M to N where M and n are input by the user...
ans fast class 8 DONT ANS SORY I DONT KNOW ..ANSWER ONLY WHO KNOWS OTHERWISE THAT WILL BE MARK AS REPORT THE ANSWER......
Answers
Answered by
4
Answer:
In this program we are not using the natural number addition formula n(n+1)/2, instead we are adding the natural numbers using while loop. The user is asked to enter the value of n and then the program calculates the sum of natural numbers upto the entered value n.
Explanation:
thku mark as brainlist follow me please
Similar questions
Science,
3 months ago
Political Science,
3 months ago
Biology,
3 months ago
Physics,
8 months ago
Social Sciences,
8 months ago
Accountancy,
1 year ago
Math,
1 year ago
English,
1 year ago