Ex.2: Sum of the first n naturals



unsigned int sum(unsigned int n)
{
}

void main()
{
}

- - - - - - - - - - - < Output > - - - - - - - - - - -

The sum of the first 20 naturals is 210 !

If interested in this project, please fell free to contact the personnel of our group. The project leader is dr.drs. L.J.M. Rothkrantz