Hi Team,
I need a console apps code which give results of any input number irrespective of number of input parameters and arithmatic operators.
Like
a) 1 + 1
b) 2 * 2
c) 1 + 2 + 3
d) 6 / 2
e) 11 + 23
f) 11.1 + 23
g) 1 + 1 * 3
h) ( 11.5 + 15.4 ) + 10.1
i) 23 - ( 29.3 - 12.5 )
j) ( 1 / 2 ) - 1 + 1
k) ( 11.5 + 15.4 ) + 10.1
These are my input scenarios. Please provide me the logic. Thank you in advance.