Bună! Este urgent!!! Dau coroana.

Să se determine valoarea sumei: l+2+3+...+n pentru un n număr natural citit de la tastatură. ​