C++ Cout array values with upper and lower limits
<p>I have an array of prime numbers from 2 to 997. How do you display array values with upper and  lower limits? For example: 
Upper and lower limits: 0 20
Output:
2, 3, 5, 7, 11, 13, 17, 19</p>
