int n, m;
double i, j;
n = 2.0 * 5;
m = 5.0 / 6;
i = 56 - 23.1;
j = 99.3 + 55.2;
printf("%d %d %f %f ",n,m,i,j);
int n, m;
scanf_s("%d", &n);
scanf_s("%d", &m);
printf("%f\n", (double)(n + m) / 2.0);
标签:5.0,10.6,int,double,scanf,printf,2.0 From: https://blog.51cto.com/u_15758636/5733941