Hi, I have already designed a simple calculator in C, If you want we can discuss details, the layout page is like following;
(Regards, Martin.)
-------------------------------------------------------
WELCOME: SIMPLE CALCULATOR
Just type the operation and enter; e.g
X+Y , X-Y , X*Y , X/Y
For exit, close the program window
-------------------------------------------------------
Enter new operation: 5.3+2.6
--RESULT-------------------->5.3 + 2.6 = 7.9
Enter new operation: 1-9
--RESULT-------------------->1.0 - 9.0 = -8.0
Enter new operation: 78/7
--RESULT-------------------->78.0 / 7.0 = 11.1
Enter new operation: 2*9
--RESULT-------------------->2.0 * 9.0 = 18.0
Enter new operation: