SUNIL GUTTA

SUNIL GUTTA

  • NA
  • 1k
  • 385k

Console & window application code help ?

Feb 9 2014 1:18 AM
Hi
 

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.

\------------------------------------------------------------------------------\
 
I am confused to understand this question .. any code help or ideas are appreciated . .
Regards
Sunil G 

Answers (6)