Tutorial 12 - Functions February 19, 2024 💡 Question 2 Display all prime numbers between two Intervals using a function. Answer #include &…