Guys how can i do multiple operations in one textbox. For example +/-*. Just in one textbox. | Sololearn: Learn to code for FREE!
Новый курс! Каждый программист должен знать генеративный ИИ!
Попробуйте бесплатный урок
+ 2

Guys how can i do multiple operations in one textbox. For example +/-*. Just in one textbox.

Im making a calculator. And now i want to do adding. Minus. Mult. And devide operation in one text box. Please help me

16th Oct 2018, 6:50 AM
Diako
Diako - avatar
1 ответ
+ 2
so, you can get text from text box, split it and check on the operators. then using switch-case you add functions for your operators
14th Nov 2018, 1:30 AM
_yaroslavv [online_everyday]
_yaroslavv [online_everyday] - avatar