Question: Create C# (Sharp) using visual studio: Make a simple calculator WPF. Have the following: 10 buttons representing digits 0-9. You can use the Content property

Create C# (Sharp) using visual studio:

Make a simple calculator WPF. Have the following:

10 buttons representing digits 0-9. You can use the Content property to label these buttons

A plus button for addition - make this button with an image for addition*

A minus button for subtraction - make this button with an image for subtraction*

A multiply button for multiplication - make this button with an image for multiplication*

A divide button for division- make this button with an image for division*

A clear button for starting over - make this button with an image for clear*

An equal button to add numbers -make this button with an image for equal*

* You can make these images or find something on the Internet

Functionality - have user click a number and display it in the textbox. The user will then click plus, minus, multiply, or divide for the operation and display it in the textbox. Next the user clicks another number and display it in the textbox. User can keep adding and/or deleting a series of numbers and math operations. Finally the user can click equal button to see answer in the textbox. Remember to keep your math rules - Parenthesis, exponent, multiplication, division, add, subtract.

So, if a user types in 2 + 3 * 3

The answer would be 11.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!