given [3][3] array it's requried to fill it's elements as following:
first row will acccept only even number.
second row will accept only odd number.
third row will accept only prime number.

what exactly is your question again?

Make an attempt, and we'll trouble shoot your code. We aren't going to write it for you.

Be a part of the DaniWeb community

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