prime numbers

This is a discussion on prime numbers within the C Programming forums, part of the General Programming Boards category; I'm looking to write a program that displays all the prime numbers between 1 and 1000, 10 per line. I'm ...

  1. #1
    Registered User
    Join Date
    Sep 2002
    Posts
    1

    prime numbers

    I'm looking to write a program that displays all the prime numbers between 1 and 1000, 10 per line. I'm a beginner to bare with me, but I've been messing with this one for a while and can't seem to get it. Any help or suggestions would be greatly appreciated.

  2. #2
    Me want cookie! Monster's Avatar
    Join Date
    Dec 2001
    Posts
    680

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Logical errors with seach function
    By Taka in forum C Programming
    Replies: 4
    Last Post: 09-18-2006, 05:20 AM
  2. prime numbers, counters, help!
    By vege^ in forum C++ Programming
    Replies: 1
    Last Post: 03-10-2003, 03:32 PM
  3. More Prime Numbers
    By mmuhlenb in forum C Programming
    Replies: 3
    Last Post: 02-21-2003, 09:06 AM
  4. Prime numbers
    By Lazy Student in forum C Programming
    Replies: 12
    Last Post: 05-14-2002, 05:53 AM
  5. Homework help
    By Jigsaw in forum C++ Programming
    Replies: 2
    Last Post: 03-06-2002, 04:56 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21