Problem 44392. Sum of Two Numbers
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
noam gridish
on 12 Jun 2018
commenting just to get the badge hihi
Martin C.
on 12 Jul 2018
there are badges for comments?
JEREMY IRWIN
on 9 Aug 2021
do you get a badge for commenting?
Solution Comments
Show commentsProblem Recent Solvers760
Suggested Problems
-
3426 Solvers
-
Given a matrix, swap the 2nd & 3rd columns
1161 Solvers
-
Find the index of the largest value in any vector X=[4,3,4,5,9,12,0,4.....5]
384 Solvers
-
Determine the length of a string of characters
260 Solvers
-
Create sequnce 1 4 9 16 25.........
401 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!