Kyle-Pu / Mathematics

Various math formulas coded in Java to help students all across the world!
MIT License
40 stars 59 forks source link

Create sum of natural numbers from 1 #86

Closed AurumnPegasus closed 4 years ago

AurumnPegasus commented 4 years ago

I have used the Gauss method to find the sum of all natural numbers from 1 to n I have also used sufficient and elaborate print statements so that it is easy to explain and understand how the formula is derived and is used.

Kyle-Pu commented 4 years ago

Great! Thanks so much @AurumnPegasus