Absolute Difference

PHP Easy 5 views
Back to Questions

Problem Description

Given a and b, print |a-b|.

Input Format

One line: a b.

Output Format

One integer.

Sample Test Case

Input:
5 12
Output:
7

Constraints

-10^9

Solutions (0)

No solutions submitted yet. Be the first!

Discussion (0)

No comments yet. Start the discussion!

Prev Next