标签:io sp 代码 c amp r bs 学习 print
#include <stdio.h>
void main()
{
 int max=0,num1=0,z=0;
 printf("请输入一个数;");
 scanf("%d",&max);
 while (max)
  {
   num1=max%10;
   printf("%d",num1);
   max=max/10;
   printf("%d",num1);
  } 
  
 {  
  z++;
  max/=10;
 }
   printf("输入的数字位数是:%d\n",z);
}
今天学习打瞌睡 哎,写的都不是代码。估计电脑会因为我写的死机了
标签:io sp 代码 c amp r bs 学习 print
原文地址:http://www.cnblogs.com/DTH911/p/3975969.html