Given 3 numbers
a
, b
, and c
your task is to determine if those 3 numbers could form an arithmetic progression. Print arithmetic progression
in case those 3 numbers could be part of an arithmetic progression and no pattern found
otherwise.Input | Output |
1
2
3 | arithmetic progression |
1
2
2 | no pattern found |