akosiraff

SmallAndLarge.cs and SmallAndLargeGUI.cs

Mar 19th, 2013
146
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.61 KB | None | 0 0
  1. 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.
  2. Save the file as SmallAndLarge.cs.
  3. 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 ten entries have been made, call a method that determines and displays the smallest and largest of the ten values.
  4. Save the file as SmallAndLargeGUI.cs.
Advertisement
Add Comment
Please, Sign In to add comment