Sum of Two Numbers - MATLAB Cody - MATLAB Central

Problem 44392. Sum of Two Numbers

Difficulty:Rate

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

65.42% Correct | 34.58% Incorrect
Last Solution submitted on May 05, 2025

Problem Comments

Solution Comments

Show comments
LLMs with MATLAB updated to support the latest OpenAI Models
Large Languge model with MATLAB, a free add-on that lets you access...
1
3

Problem Recent Solvers759

Suggested Problems

More from this Author25

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Go to top of page