jeudi 26 mai 2016

MirrorArray Project

a) The application interface should look similar to:

image

b) Write the application code so that when Display is clicked a set of random integers is generated and added to the list box in the order generated followed by the reverse order generated. The number typed by the user in the text box should be used to determine how many random integers to generate from the set. Your code should include:

  • a FillArray() procedure to generate a set of random numbers and store them in an appropriately sized array. The integers should range from 0 to 20.
  • a MirrorArray() procedure to create an array with a set of elements that mirror each other.
  • a DisplayArray() procedure that adds each element of an array to a list box.

Can you please help me with this project. Appreciate your help!




Aucun commentaire:

Enregistrer un commentaire