[TUHS] A c program problem

Ralph Corderoy ralph at inputplus.co.uk
Thu Aug 23 00:32:58 AEST 2018


> I want to figure out if the book is right or the compiler is right.

5050 is the right answer.  It's the 100th triangular number.
https://en.wikipedia.org/wiki/Triangular_number

Please let this off-topic thread die.

-- 
Cheers, Ralph.
https://plus.google.com/+RalphCorderoy



More information about the TUHS mailing list