Even and Odd application


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 3 of 3

Thread: Even and Odd application

  1. #1
    Join Date
    Aug 2004
    Posts
    43,023

    Even and Odd application

    [Originally posted by Wizo]

    Need a Even and Odd Numbers application that generates an array of 10 random numbers between 1 and 99, and displays in a list box the entire array, the even numbers, and the odd numbers.

    -------------------------------
    Your program code must use:
    -------------------------------

    ˙FillArray procedure to generate and store the random numbers in the array

    ˙DisplayArray procedure that displays the index and its elements in the list box

    ˙EvenNumbers procedure that adds the even numbers to the list box

    ˙OddNumbers procedure that adds the odd numbers to the list box

    -----------------------------
    Part B:
    -----------------------------

    Create a button called Randomize that generates another array and displays the even and odd numbers.  The original array should not show on the list box.
     

  2. #2
    Join Date
    Aug 2004
    Posts
    43,023

    Re:Even and Odd application

    [Originally posted by Greg DeBacker]

    You should start your own homework and then come here and ask specific questions when you get stuck some place. Have you written and code?

    Grex

  3. #3
    Join Date
    Aug 2004
    Posts
    43,023

    Re:Even and Odd application

    [Originally posted by ada]

    Can you explain more clearly?
    What's the use of the even and order numbers?
    Arrange seats in classroom or assign different questions in a test?

    I can do some help if you post a little bit of code here. : )

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center