write a programme to show the prime numbers between 1 to 20.

Recommended Answers

All 2 Replies

You first.

First you must to know the pattern of prime number then u can write the code.
see wikipedia and FactMonster

commented: linkers +1
commented: N/A +1
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.