This content is licensed under Creative Commons Attribution/Share-Alike License 3.0 (Unported). That means you may freely redistribute or modify this content under the same license conditions and must attribute the original author by placing a hyperlink from your site to this work https://planetcalc.com/8702/. Also, please do not modify any references to the original work (if any) contained in this content.
This simple calculator analyzes entered sequence of integer numbers and prints all continuous ranges.
if you enter 1 2 3 4 5, it will print range 1 - 5
if you enter 1 2 3 6, it will print 1 - 3, 6
if you enter 1 2 3 6 7, it will print 1 - 3, 6 - 7
I hope you get the idea. I was asked to create this one, so may be it will be useful for anyone else.