Problem 564. How to subtract?

&plusmn &plusmn &plusmn &plusmn &plusmn &plusmn &plusmn &plusmn &plusmn &plusmn &plusmn

  • Imagine you need to subtract one number from another using MATLAB.
  • You will not be using eval for this task.
  • Given two ASCII strings representing two integers X and Y.
  • Each of them has only 12 or less ASCII characters.
  • Each of them represents signed integers, such as '+2345'
  • Please output the result of (X-Y) in a similar style.

Solution Stats

27.03% Correct | 72.97% Incorrect
Last Solution submitted on Nov 11, 2024

Problem Comments

Solution Comments

Show comments

Problem Recent Solvers1510

Suggested Problems

More from this Author100

Problem Tags

Community Treasure Hunt

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

Start Hunting!