My program is working now but only if I give the input just like example. If I change the order of lines(order of +,-,*,/ operations) or add more lines it does not work properly.
Type: Posts; User: mkache21
My program is working now but only if I give the input just like example. If I change the order of lines(order of +,-,*,/ operations) or add more lines it does not work properly.
I did well by your help thank you so much. If I send you my email can you help me. My program working but not properly.
Expressions won't be complicated, they will be just like the example. I tried your code but it did nothing. If you tell me how will it make sum and show it, it's realy appreciated.
I need to read read from text file line by line and make four operations. Example:
If the Input.txt file is like this:
3+5
2-1
4*3
8/4
My program should read the veriables, do the operations...