Inactive Tutor answered 09/22/20
Tutor
New to Wyzant
Not sure what you mean by output here, if you just need to print those numbers, then you can do as follows:
int yourFunction(int userNum, int x){
for (int i = 0; i < 3; i++){
userNum/=x;
cout<<userNum<<" ";
}
}