-1

CAn someone give the C code for this? thanks :) :

A prime number is an integer, greater than 1, that is only divisible by 1 and itself. 3, 11, and 43 are examples of prime numbers. Twin primes are a pair of prime numbers which differ by 2. For example, 3 and 5, and 11 and 13, are twin primes.

Write a program that generates a list of all twin primes between 2 and 1000.

2
Contributors
1
Reply
2
Views
8 Years
Discussion Span
Last Post by gerard4143
This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.