this should work, however its probably not the optimum solution.
#include
using namespace std;
int main()
{
int a[50],n;
int uniqueNumbers; // this will be the total numbers entered and we will -- it
cin >>n;
uniqueNumbers = n;
for(int i=0;i> a[i];
}
for (int j=0;j