Write a program that prompts the user to enter a number larger than 2. The program should use the Number class to determine the prime numbers between 2 and the number entered, and display them in the console window.
I've been stuck for a while now and just lost in implementing classes and contstructors. Please help!
1 2 3 4 5 6 7 8 9 10
#include <iostream>
usingnamespace std;
int main(int argc, char * argv[])
{
cout << "Enter a number larger than 2: " << endl;
int n;
cin >> n;