Answers to: অ্যালগরিদম কেমন হতে পারে?https://programabad.com/questions/8100/<p><code>You have to process a mathematical expression and output the result. The expression contains three types of input: single digit number, plus sign (‘+’) and multiplication sign (‘*’). The precedence of ‘*’ is greater than ‘+’ as followed by any standard system. The expression ends with the minus sign (‘-‘) which will not be considered as the part of the expression but to mark the end of the expression. There must be at least one single digit number followed by the compulsory “-“ sign. You CANNOT use array for this.</code></p>
<pre>Sample Input Sample Output
1+2*2*3+5- 18
</pre>enSun, 21 Jul 2019 15:43:44 -0000