hi every one. I am trying to implement this project but having trouble implementing C, clear which removes last character written. Any idea how should i make my logic. currently I am storing two values prev and next and performing operations on them.
better share your codebase!! otherwise it’s tough to understand!!
but technically speaking, it should be as easy ‘removing a last character from a string’, if that makes any sense in your context!!
yeah but what if it is dot and i am using array not string so when it is dot and i use pop method it gives NaN so i guess i would have to check if it is dot right using if else i will try
in your array, are you keeping both ‘operator and operands in same array or different’?
different but . is operand right ?
i have fixed it btw thankyou
This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.