Algorithm for finding the sum of series from 1 to N

in #steemvideo10 hours ago

Image cover

Today I am sharing with you all through video Algorithm for finding the sum of series from 1 to N. First of all, we have to take the value of N as input. Then we have to determine I=1 & S=0. And in the next step, if I<=N, we have to do the following ( S=S+I & I=I+1 ) Then we have to display the result and finish the program.

IPFS Video

Posted with Speem

Sort:  

Your post have been rewarded by the Speak on Steem curator team!

Now you can promote your posts by sending SBD to @null. Promoted posts will gain visibility and extra support from our team. Learn more here
Ways to support us;

1000176409.gif

Curated By @kibreay001