Computer Science, asked by ajithsowmiya1432002, 8 months ago

write algorithm,flow chart,pseudocode to find sum of n natural numbers​

Answers

Answered by Anonymous
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