+ 1
Program to separate out the digits of a given number
2 Answers
+ 2
Please be more specific.
https://www.sololearn.com/Discuss/333866/?ref=app
0
// Actual function, num is your number
while(num != 0){
cout << num % 10;
num = int(num%10);
}