Reverse Calculator - MATLAB Cody - MATLAB Central

Problem 2133. Reverse Calculator

Difficulty:Rate

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.

Example:

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

Solution Stats

55.24% Correct | 44.76% Incorrect
Last Solution submitted on Mar 25, 2025

Problem Comments

Solution Comments

Show comments
Who Deserves Your Praise? Discover the New Contribution Widget!
...
We are excited to announce another update to our Discussions area: the...

Problem Recent Solvers191

Suggested Problems

More from this Author3

Problem Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Go to top of page