DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

+ Reply to Thread
Results 1 to 3 of 3
  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. : )

Bookmarks

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


Top DevX Stories

Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL


Sponsored Links