You have been engaged to develop a special calculator program. The requirements for this program are very specific, and are as follows:

  • Create a Windows Forms application in Visual Studio using C#. The interface should look similar to the following: see image.
  • Create the following controls, as shown above:
    • Labels for "Enter Information", "Name", "Input 1", "Input 2"
    • 3 textboxes, as shown in the picture above
    • Buttons for addition, subtraction, multiplication, and division
    • Buttons for calculating sine, cosine, and tangent (based on the first input textbox only)
    • A button that calculates modulus
    • A button that clears the textboxes
  • Write a method for each of these calculations that will accept the incoming numbers from the two input fields and return the calculated value.
    • This value should be displayed in a MessageBox window, which should also display the user's name from the textbox.
Academic Honesty!
It is not our intention to break the school's academic policy. Posted solutions are meant to be used as a reference and should not be submitted as is. We are not held liable for any misuse of the solutions. Please see the frequently asked questions page for further questions and inquiries.
Kindly complete the form. Please provide a valid email address and we will get back to you within 24 hours. Payment is through PayPal, Buy me a Coffee or Cryptocurrency. We are a nonprofit organization however we need funds to keep this organization operating and to be able to complete our research and development projects.