void function1(void);
void Function2(void);
int main(void){
int n=3245;
function1();
function2();
cout << n/1000 << endl;
n%=1000 ;
cout << n/100<< endl;
n%=100 ;
cout << n/10 << endl;
n%=10;
cout << n << endl;
return 0;
}
void function1(void){
return;
}
void function2(void){
return;
}
Write a program with at least three functions that prompts the user to input a four-digit positive integer. The program then outputs the digits of the number, one digit per line. For example, if the input is 3245, the output is:
3
2
4
5