main() { double num; scanf("%lf",&num); if(num<0) num=-num; printf("%.10lf\n",num); system("pause"); }