-
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.
ÿ
-
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
-
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
Forum Rules
|
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
|
Bookmarks