using namespace std;
Void of solve (int * p, int num [], int n);
Int main ()
{
Int * p, num [60], n.
P=num.
Cout & lt; & lt; "Please enter the number" & lt; & lt; Endl;
Cin & gt;> n;
To solve (p, num, n);
return 0;
}
Void of solve (int * p, int num [], int n)
{
Int I, j=0, k=0;
for (i=0; I & lt; n; I++)
* (p + I)=(I + 1);
i=0;
While (k & lt; N - 1)
{
If ((* p + I)!=0)
j++;
If (j==3)
{
* (p + I)=0;
j=0;
k++;
} i++;
}
i=0;
If (* (p + I)==0)
i++;
Cout & lt; & lt; * (p + I) & lt; & lt; Endl;
}
Freshman what won't, please, your advice,