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 2133. Reverse Calculator

Created by Vivek

Use this reverse calculator and give correct output

Its simple, In my Reverse calculator if you press 0 it will be considered as 9. Likewise 1 will be 8, 2 will be 7, 3 will be 6,......., 9 will be 0.

Here you will get two numbers and an operator(+ - * /). From this calculate the output.


numbers=[3 4], operator='+'
Value=11 (Because 3 will be considered as 6, 4 will be considered as 5. So 6+5=11)

Problem Group

Solution Statistics

72 correct solutions 57 incorrect solutions
Last solution submitted on Sep 26, 2015