#include "stdio.h"
void main()
{
int s;
float x;
printf("please input one float number like ***.**1:\n");//因为float型的有效位数问题,所以在每次输入的数后面再加一位1,比如123.451
scanf("%f",&x);
printf("\nzheng shu bu fen san ge shu shi %d %d %d,\nxiao shu di er wei shi %d,di yi wei shi %d.\n",(int)x/100,(int)x/10%10,(int)x%10,(int)(x*100)%10,(long int)(x*100)%100/10);
}