MATLAB: 10%+10%

MATLAB

Why 10%+10%=10?

Best Answer

Because the % symbol indicates that the rest of the line is a comment. So the only non comment parameter Matlab sees is the first 10.
Related Question