If you live outside the United States, by submitting your email address you consent to having your personal data transferred to and processed in the United States.
In what language? And what do you want the program to do? Do you want it to accept a number as input and tell you if it’s prime? Or do you want it to start listing prime numbers and continue forever? Or something else…? I suspect that the very first step is to enrol in a school that teaches programming. (This site is not a school and doesn’t teach ‘programming’.) — Tom
In order to get help with your issue, you’ll need to provide more details. As Tom notes, this site is not for teaching programming, but for sharing knowledge that can help with specific issues (some of which may involve programming). Let us know if you can provide more detail.
I think your toughest obstacle here is coming up with the logic for determining the prime numbers. If you can do that then coding a program in the language of your choice should not be that hard of a task.
In what language? And what do you want the program to do? Do you want it to accept a number as input and tell you if it’s prime? Or do you want it to start listing prime numbers and continue forever? Or something else…? I suspect that the very first step is to enrol in a school that teaches programming. (This site is not a school and doesn’t teach ‘programming’.) — Tom
Hi mmb,
I think your toughest obstacle here is coming up with the logic for determining the prime numbers. If you can do that then coding a program in the language of your choice should not be that hard of a task.