Hello,
I m new in programming languge and using turbo c . I need your help in completing my projects. I want to display the numbers in column with classification as even, odd, prime and composite numbers. And i want to use int array for 8 numbers. That is, first 8 numbers is to be entered and it should be displayed in column having the headings as even, odd, prime and composite.

If u kindly give me the above said code, i will be remain thankful to you.

Recommended Answers

All 2 Replies

To help you on the way:
If a number is not even it is odd.
If a number is not prime it is composite.

I m new in programming languge and using turbo c .

Get a moder C++ compiler first.

If u kindly give me the above said code, i will be remain thankful to you.

Our member rules state this:
Do provide evidence of having done some work yourself if posting questions from school or work assignments

Show us what you have so far, then we'll try to help 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.