求绝对值
#include<iostream>
#include<cmath>
#include<iomanip>
using namespace std;
int main()
{
cout<<setiosflags(ios::fixed);
cout.precision(2);
double a,sum = 0;
while(cin>>a)
{
if(a<0)
sum = a * -1;
else
sum = a;
cout << sum <<endl;
}
return 0;
}