想想···c++
#include<iostream>using namespace std;
void main()
{
int number;
int m; //十位数
int n; //个位
int i,j;
int maxsize=1000; //控制循坏结束
cout<<"请输入一个12位数字:"<<endl;
cin>>number;
m=number%10;
n=((number%100)-m)/10;
cout<<m<<endl;
cout<<n<<endl;
}
我想输出m等于12位数的十位,n=12位数的个位·······怎么去实现!!!!