Description
ITCO221 Unit 4 Graphical Calculator C# program
You have been engaged to develop a graphical calculator. Specific requirements are as follows:
Create a graphical calculator with buttons that can add, subtract, multiply, divide, +/-, Sin, Cos, Tan, clear, and Modulus.
Write a method for each of these calculations that will accept the needed incoming numbers and return the calculated value.
Please note the call to these methods will occur when = is pressed.
You may only use 1 textbox to input numbers and display the results.
The first step is to open up the Windows Form. We can change the name of the form by modifying the text property on the form to be “Calculator”. Notice how the change is reflected automatically on the form.
This assignment requires 11 buttons, and one textbox to input and display the results.
Button1 is for add
Button2 is for subtract
Button3 is for multiply
Button4 is for divide
Button5 is for +/-
Button6 is for Sin
Button7 is for Cos
Button8 is for Tan
Button9 is for Clear
Button10 is for Modulus
Button11 is for =
Reviews
There are no reviews yet.