VB.net Arrayd

Discussion in 'Software' started by C++Dummie, Jun 10, 2005.

  1. C++Dummie

    C++Dummie Private E-2

    I have a program I have to build and I suck at writing codes. I have know idea what I am doing, could someone please help.

    Here is the problem.

    Write an application with a list box and a button. The button click event should generate ten random values and store those values in an array. Call the array's Sort method to sort the values, and then display the sorted values in the list box. The program should then calculate the average of the array values and display the average in the list box. Finally, the program should display all the array values that are greater than the average.

    So far this is all I have:

    Dim num As String
    Dim i As Integer

    Randomize()
    i = Int(Rnd() * 10)

    It gives me random numbers but more than 10, and I don't know where to go from there. I am using C++ in VB.Net.

    Please help.
     

MajorGeeks.Com Menu

Downloads All In One Tweaks \ Android \ Anti-Malware \ Anti-Virus \ Appearance \ Backup \ Browsers \ CD\DVD\Blu-Ray \ Covert Ops \ Drive Utilities \ Drivers \ Graphics \ Internet Tools \ Multimedia \ Networking \ Office Tools \ PC Games \ System Tools \ Mac/Apple/Ipad Downloads

Other News: Top Downloads \ News (Tech) \ Off Base (Other Websites News) \ Way Off Base (Offbeat Stories and Pics)

Social: Facebook \ YouTube \ Twitter \ Tumblr \ Pintrest \ RSS Feeds