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.
ddanbe 2,724 Professional Procrastinator Featured Poster
thoughtcoder 167 Junior Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.