Question: Write a Windows Form program that emulates a calculator. Create a Label with a title of Super Calculator, a Textboxes, where the numbers are displayed,
Write a Windows Form program that emulates a calculator. Create a Label with a title of "Super Calculator", a Textboxes, where the numbers are displayed, a series of buttons labeled as shown:
Sum button: when pressed, the summation of the two numbers will be displayed in the result label.
Diff button: when pressed, the difference between the two numbers will be displayed in the result label.
Prod button: when pressed, the production of the two numbers will be displayed in the result label.
Quot button: when pressed, the quotient of (Number 1/Number 2) will be displayed in the result label.
Clear button: when pressed, Textboxes and the result label should be cleared.
Exit button: stop the running of the application.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
