Question: Programming Challenges Larger and Smaller Create an application that allows the user to enter two integers on a form similar to the one shown in
Programming Challenges Larger and Smaller Create an application that allows the user to enter two integers on a form similar to the one shown in Figure 4-33. The application should determine which value is larger than the other, or it should determine that the values are equal. Before com- paring the numbers, use the TryParse method to verify that both inputs are valid integers. If an error is found, display an appropriate message to the user. Use a Label control to display all messages. The Exit button should close the window. 1. gure 4-33 Larger and Smaller form Larger and Smaller Enter Two Integers A: 12 B 10 Value A is greatest Compare Exit
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
