Question: This is the instructions given to create the code it's asking but I am still confused with class so I'm still learning. Can you please

This is the instructions given to create the code it's asking but I am still confused with class so I'm still learning. Can you please just add all comments aside the code so I can better understand what is being done within those lines of the code. Thanks.

I need help with this C++ code. I have the basic setup ready but bot sure how to continue the code and not sure if const vector should even be in private. The code in main should remain as is because it the code that was given to me to test out once all the class code is done. Thanks and if else is needed please let me know what I should clarify on what is being asked.
Exercise 3: Probability of a prime number (10 points) int countPrimes (const vector
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
