标签:style blog color os io div log ios
#include<iostream> using namespace std; int main() { int i,j,n; cout<<"please input an number :"<<endl; cin>>n; if(n/10<1) { cout<<0; }else { i=n/10; j=i%10; cout<<j; } return 0; }
28.求任意一个整数的十位上的数字,布布扣,bubuko.com
标签:style blog color os io div log ios
原文地址:http://www.cnblogs.com/jixiaowu/p/3895406.html