#include int main(){
int num;
printf("输入整数:");
scanf("%d", &num);
printf("\nthe input num is %d\n", num);
printf("the tens is: %c\n", char((num/10) + '0'));//此处可以加char转换,也可以不加
printf("the units is: %c\n", char((num%10) + '0'));//此处可以加char转换,也可以不加
retur...
#include int main(){ int integer=0; //一般定义变量就初始化 int ten=0; int bits=0; char str_ten,str_bits; printf("please input the two integer number:\n"); scanf("%...