>
#calculator
,
#programming
,
#programming-languages
>
How should I write a calculator program that simulates functions of a calculator: +,-,*,/, stop, login, controller function?
How should I write a calculator program that simulates functions of a calculator: +,-,*,/, stop, login, controller function?
Write a calculator program that simulates functions of a calculator. The program should give a user a menu, user chooses one option and:
(1) add
(2) subtract
(3) multiply
(4) divide
(5) stop
(6) log in
(7) controller function