Skip to content

Describe an algorithm which sums all numbers from 1 to 1000000 both numbers inclusive in the simplest possible way.

Notifications You must be signed in to change notification settings

aroramayank2002/SimpleProgrammingTask

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Section A – Simple Programming Task

Describe an algorithm which sums all numbers from 1 to 1000000 both numbers inclusive in the simplest possible way.

npm install
npm run sum

Output

> npm run sum
Sum of numbers from 1 to 1000000 : 500000500000
PS >

About

Describe an algorithm which sums all numbers from 1 to 1000000 both numbers inclusive in the simplest possible way.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors