Create a WPF application named FirstNameLastNameM3C Save the application in the Unit3MasteryirstnameLastname folder. Design is up to you. Place everything on either a grid or canvas. Make sure everything is lined up and looks professional. Create an application that allows the user to enter an integer between 1 and 10 into a labeled textbox. There should be a Binary button that uses an if/else construct or switch to get the binary version of the number. There should be another labeled label to display the answer. There should be a clear button that clears the entry and the answer. Hint: You do not need to do any type of calculation for this, just get the binary version of the number and store it in the variable in the decision structure. For example the user enters 4, you display 0100 in the answer label.
Create a WPF application named FirstNameLastNameM3C
Save the application in the Unit3MasteryirstnameLastname folder.
Design is up to you. Place everything on either a grid or canvas. Make sure everything is lined up and looks professional.
Create an application that allows the user to enter an integer between 1 and 10 into a labeled textbox.
There should be a Binary button that uses an if/else construct or switch to get the binary version of the number. There should be another labeled label to display the answer.
There should be a clear button that clears the entry and the answer.
Hint: You do not need to do any type of calculation for this, just get the binary version of the number and store it in the variable in the decision structure. For example the user enters 4, you display 0100 in the answer label.
Trending now
This is a popular solution!
Step by step
Solved in 2 steps with 1 images