logo

Crowdly

Scrie o funcție sumTo care calculează suma numerelor de la 1 la `n` folosind o...

✅ The verified answer to this question is available below. Our community-reviewed solutions help you understand the material better.

Scrie o funcție sumToNo care calculează suma numerelor de la 1 la `n` folosind o **buclă for**.

Exemplu: sumTo(5) → 15.

More questions like this

Want instant access to all verified answers on curs.upb.ro?

Get Unlimited Answers To Exam Questions - Install Crowdly Extension Now!