[恢]hdu 2003

2011-12-12 03:38:15

地址:http://acm.hdu.edu.cn/showproblem.php?pid=2003

题意:中文题。

代码:

# include <stdio.h>


int main ()
{
double a ;
while (~scanf ("%lf", &a))
printf ("%.2lf\n", a>0?a:-a) ;
return 0 ;
}



原文地址:https://www.cnblogs.com/lzsz1212/p/2314447.html