Cody

Problem 1789. Adding and Subtracting UINT variables

Given UINT class variables output the correct solution to A-B+C.

Input: A,B,C Three uint variables

Output: solution to A-B+C

Note: Negative answer results in an expected Zero for class uint

Solution Stats

68.18% Correct | 31.82% Incorrect
Last solution submitted on Jul 11, 2017
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!