![]() |
#2
linsd20012007-10-25 13:18
|
#include<sdtio.h>
void main(){
int a[10];
int n;
int *base;
nt *top;
base=&a[0];
top=base;
scanf("%d",&n)
while(n){
*top=n%8;
n=n/8;
*top++;
}
while(base>=top){
printf("%d",*top);
top--;
}
}