I am building a calculator for a school project.
I have an array called input that contains values like that :
var input = [1, +, 3, *, 4, /, 2]
Is there any way I can perform the calculation like this? Thanks for the Help, Benjamin
I tried to get the values in my array and perform a simple calculation with it. I would be glad if anybody explains to me how to do so.