Question Locked

c-language programming

0 helpful
4 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.
how to write programme in c-language for printing prime no's in a given range.

4 replies

by jaqui

how are you going to learn what you are supposed to in your class if people just give you the answers?

your question is obviously a class assignment.

by bizzo

1. This link is to a 7th grade maths page:
http://www.lessonplanspage.com/MathPrimeVsCompositeNumbers7HS.htm
It tells you how to determine whether or not a number is prime.
Learn it and understand it.

2. Then this link:
http://www.cprogramming.com/
Has tutorials on how to program in C.
Learn it and understand it.

Once you understand both 1 and 2, you should be able to write the program.

If you don't understand either of them, or you don't want to learn either of them, then you really should get out if I.T.

by tony hopkinson

OuputPrimeNumbers(Start, end);

Alternatively restart the course and turn up this time.

This discussion is closed to new replies.