Add connsecutive numbers up to givven number x.
ex: x=5
y=1+2+3+4+5
Solution Stats
Solution Comments
Show comments
Loading...
Problem Recent Solvers120
Suggested Problems
-
Calculate the area of a triangle between three points
3413 Solvers
-
The Answer to Life, the Universe, and Everything
576 Solvers
-
789 Solvers
-
1549 Solvers
-
1032 Solvers
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!