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

67.44% Correct | 32.56% Incorrect
Last solution submitted on Sep 16, 2016
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!

Join the 15-year community celebration.

Play games and win prizes!

Learn more