I am simulating a little calculator I have at home: a TI-1706 SV.
It just does the basic things nothing special, just like the standard MS calculator.
Yes I know it is YAC(yet another caculator) but I am still in a premature learning phase of .NET and C#, so it seems like a nice little thing to do for myself.
My code works, that is not the point but while testing I came up with the following:
6 + 2 = 3 =
If I click these buttons on my calculator I still get: 8 (intermediate result of 6+2)
If I do the same on my TI-1706 SV calculator I get: 5 (3 + 2)
If I do the same on the MS calculator I get: 10 (8 + 2)
I would appreciate some opinion on this behaviour on "incorrect" input.
Thanks in advance.