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 Solvers782
Suggested Problems
-
Create a vector whose elements depend on the previous element
788 Solvers
-
Change the sign of even index entries of the reversed vector
644 Solvers
-
Find the sides of an isosceles triangle when given its area and height from its base to apex
2143 Solvers
-
331 Solvers
-
Find the Oldest Person in a Room
20378 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?