Discover MakerZone

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

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!

Problem 1789. Adding and Subtracting UINT variables

Created by Richard Zapor

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

Problem Group

Solution Statistics

27 correct solutions 9 incorrect solutions
Last solution submitted on Sep 26, 2015