HDU/2003/main.c

11 lines
142 B
C
Raw Permalink Normal View History

2020-08-31 16:48:58 +00:00
#include <stdio.h>
int main(void){
double a = 0.0;
while(scanf("%lf",&a) == 1){
printf("%.2lf\n",a>0?a:-a);
getchar();
}
return 0;
}