📅  最后修改于: 2022-03-11 14:48:24.678000             🧑  作者: Mango
#include
int main()
{
int n,d;
printf("enter no.:");
scanf("%d",&n);
while(n != 0)
{
d=n%10;
n=n/10;
printf("%d\n",d);
}
return 0;
}