请问输入一个实型数如123.22,输出还是123.22。要怎么办
#include <stdio.h>#include <stdlib.h>
main() {
int a,b;
float x,y;
char c1,c2;
scanf("%d\n%d\n%f\n%f\n%c\n%c",&a,&b,&x,&y,&c1,&c2);
printf("%d\n%d\n%f\n%f\n%c\n%c",a,b,x,y,c1,c2);
}
比如这里的x,y.
2019-03-19 22:23
2019-03-20 06:26
2019-03-20 17:33
2019-03-20 17:50
2019-03-20 17:51

2019-03-23 18:04