Coder Coder, typing fast Sitting at your desk, aghast. What immortal MATLAB script will solve this problem, nice and quick?
You are given a number. Your task is to write a MATLAB script that will calculate the smallest positive number you need to add to your original number so that each digit in your sum will have horizontal symmetry. For this problem, those numbers are [0 1 3 8]
Good luck. May you become a poet, and not even know it.