for (int inum = num; inum; inum /= 10)//计算位数标签:10,return,数字,int,wei,printf,inum,字符串,长度 From: https://blog.51cto.com/u_15458814/5883460
{
//printf("\n%d", inum);//打印过程
wei++;
}
return wei;
}
for (int inum = num; inum; inum /= 10)//计算位数标签:10,return,数字,int,wei,printf,inum,字符串,长度 From: https://blog.51cto.com/u_15458814/5883460
{
//printf("\n%d", inum);//打印过程
wei++;
}
return wei;
}