#B2036. Absolute Value of a Floating-Point Number
Absolute Value of a Floating-Point Number
Absolute Value of a Floating-Point Number
Given a floating-point number \( n \), calculate and output its absolute value \( |n| \).
This problem requires handling both positive and negative inputs.
inputFormat
The input consists of a single floating-point number \( n \) provided on one line.
outputFormat
Output the absolute value of the floating-point number \( n \). The result should be in a floating-point format.
sample
3.14
3.14