int main(){
int n; scanf("%d",&n); while(n != 0);{ printf("%d\n", n % 10); n = n / 10; } return 0;
}
while后面多了个分号
while(n != 0);{
while后多加了个分号