write algorithm,flow chart,pseudocode to find sum of n natural numbers
Answers
Answered by
0
NANBA..
Algorithm: Start. Declare and initialize variable, i,num, s=0. Enter the value of num i.e. number upto which sum is to be calculated. Use Loop to add number. Any of while, do-while or for loop can be used. Print the sum. Stop
Similar questions