PROGRAMMING

PROGRAMMING

You will need to create a console-based application whose Main() method accepts ten integer values from the user and stores them in an array. Next, create a method that determines and displays the smallest and largest of the ten values. Then, pass the array to the method.

Save the file as SmallAndLarge.cs.

Next, create a GUI application whose button’s Click() method accepts ten integer values from a TextBox and stores them in an array that is declared above the Click() method. After the ten entries have been made, call a method that sorts and displays the ten values from smallest to largest.

Save the file as SmallAndLargeGUI.cs.

Embed the programs in a Microsoft Word document.

Cite any sources in APA format on a separate page. Include the description of your programming techniques and how the use of the GUI was integrated into your application.