MohamadStark
Newbie level 2
Hi guys -
I want your help to make the code for this program
a simple decimal calculator with the following specification.
1. The calculator should implements the four basic arithmetic operations: Addition
(+), Subtraction (-), multiplication (*) and division (/).
2. The entry format must be as in the following:
operation number1 number2 [ENTER]
E.g: + 10 -3 [ENTER]
3. The numbers are integers (decimal) of one or two digits and signed
4. Your program should validate the input entries and display error message in case
of wrong entry.
5. Your program should read the operation and the two numbers first, then
calculates the result and displays it on a new line.
6. Try to use procedures as needed.
7. The program should be terminated only if the users press ESC key.
8. Save the last calculated result in the memory so the user can use it later for further
calculation. The user can use the stored previous result by entering letter P.
any one who do it can you please email it to me on this email and just reply with done
Edit: mail address removed
I want your help to make the code for this program
a simple decimal calculator with the following specification.
1. The calculator should implements the four basic arithmetic operations: Addition
(+), Subtraction (-), multiplication (*) and division (/).
2. The entry format must be as in the following:
operation number1 number2 [ENTER]
E.g: + 10 -3 [ENTER]
3. The numbers are integers (decimal) of one or two digits and signed
4. Your program should validate the input entries and display error message in case
of wrong entry.
5. Your program should read the operation and the two numbers first, then
calculates the result and displays it on a new line.
6. Try to use procedures as needed.
7. The program should be terminated only if the users press ESC key.
8. Save the last calculated result in the memory so the user can use it later for further
calculation. The user can use the stored previous result by entering letter P.
any one who do it can you please email it to me on this email and just reply with done
Edit: mail address removed
Last edited by a moderator: