int n,y;
cout<<"Enter the number:";
cin>>n;//n保存输入的整数
cout<<"The number in reverse order is";
while(n!=0)
{
y=n%10
【C++】整数拆分程序框架
最新推荐文章于 2024-02-07 21:01:13 发布
![](https://img-home.csdnimg.cn/images/20240711042549.png)
int n,y;
cout<<"Enter the number:";
cin>>n;//n保存输入的整数
cout<<"The number in reverse order is";
while(n!=0)
{
y=n%10