Given two integer numbers x and y, calculate their sum and put it in z.
Examples:
Inputs x = 2, y = 4 Output z is 6
Inputs x = 1, y = -4 Output z is -3
Solution Stats
Problem Comments
3 Comments
Solution Comments
Show comments
Loading...
Problem Recent Solvers785
Suggested Problems
-
Find all elements less than 0 or greater than 10 and replace them with NaN
15806 Solvers
-
Calculate the area of a triangle between three points
3522 Solvers
-
571 Solvers
-
07 - Common functions and indexing 2
423 Solvers
-
Find the max element of the array
2288 Solvers
More from this Author25
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
commenting just to get the badge hihi
there are badges for comments?
do you get a badge for commenting?