Absolute Value

Computer Mathematics Easy 2 views
Back to Questions

Problem Description

Given an integer n, print its absolute value.

Input Format

One integer n.

Output Format

One integer |n|.

Sample Test Case

Input:
-19
Output:
19

Constraints

|n|

Solutions (0)

No solutions submitted yet. Be the first!

Discussion (0)

No comments yet. Start the discussion!

Prev Next