In this mini project, we code the sum of the first n integers using Gauss’ formula. Short Preview of Gauss’ formula Say, we need to sum the first 20 positive integers. The sum, S is given as; \(S = 1+2+3+…+20\) —————- (1) Note also that the sum can b...
Markdown supported · ⌘↵ to post
No responses yet.