Solution:As we know:
Two prime numbers are called twin primes if there is present only one composite number between them, we can also say two prime numbers whose difference is two are called twin primes.
Then the number of pairs of twin primes between 1 and 100 are = 8 ;
(3, 5), (5, 7), (11, 13), (17, 19), (29, 31), (41, 43), (59, 61), (71, 73) ;