I am trying to write a script that will give each of the respective hours between 2 separate hours in 2 columns of data .
There will never be a negative integer and the list only will contain numbers 0 - 23. Here is the sample data:
So, I would need it to print;
7:00, 8:00
7:00, 8:00, 9:00
8:00, 9:00, 10:00, 11:00, 12:00, 13:00
Etc.
I need to keep a count using a counter of how many times each of the times occurred.