How to solve this problem?

Generate 200 integer random numbers in the range (1000,9999) in an one-dimensional array x. Then determine:-

a) How many of these fall in the ranges 1000-2499 and 2500-4999;
b) How many of these are (a) even numbers and (b) divisible by 5
c) Sort and display the numbers in ascending order of magnitude

Re: random number generation 80 80

i didnt found any solution here
hw u solve the prob
if u tell others can study the prob and they can get the logic

Re: random number generation 80 80

i manage to solve it yesterday nite. Thanx.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of 1.18 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.