Олимпиадный тренинг

Задача 37597. Built-in Functions


Задача

Темы: Информатика
Write a program that determines the distance between two points given coordinates x1  and x2 on the number line. The distance between two points is calculated using the formula |x2 − x1|.
The first input line contains a real number x1, the second line contains a real number x2. Output one real number – distance between two points.
Sample input and output data.
Input Output
1000
0
1000