#T414. |a-b| Problem
|a-b| Problem
Description
In math class, the teacher gave two numbers, a and b, and asked Xiao O to find the value of |a - b|. Can you use a computer to help Xiao O solve it?
Input Format
Two numbers, a and b
Output Format
Output |a - b|
7 6
1
Hint
Data range: a < 1000, b < 1000;
① a may be greater than b
② a may be less than b
Source
CodesOnline