Problem 2007. Swap two numbers

Created by Deepesh B in Community



 a = 10
 b = 20


 a = 20
 b = 10

Solution Stats

76.22% Correct | 23.78% Incorrect
Last solution submitted on Jan 21, 2019

Problem Comments

Solution Comments

Recent Solvers192

Suggested Problems

More from this Author1

Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

MATLAB Academy

New to MATLAB?

Learn MATLAB today!