#include <stdio.h>
#include <stdlib.h>
int include_dot(char* str) {
for (int i = 0;str[i] != '\0'; i++) {
if (str[i] == '.') {
return 1;
}
}
return 0;
}
int main() {
char gather[5][20];
for (int i = 0; i < 5; i++) {
scanf("%s", &gather[i]);
}
for (int i = 0; i < 5; i++) {
if (include_dot(gather[i])) {
float num = atof(gather[i]);
printf("%.1f", num);
}
else {
for (int j = 0; gather[i][j] != '\0'; j++) {
printf("%c", gather[i][j]);
}
}
printf("\n");
}
return 0;
}

京公网安备 11010502036488号