Objective
Write a function that allocates an integer array covering every value between two bounds, in the direction they imply.
Steps
$ int_range(3, 7)
[3, 4, 5, 6, 7]
$ int_range(-2, 1)
[-2, -1, 0, 1]
$ int_range(5, 2)
[5, 4, 3, 2]
$ int_range(0, 0)
[0]
Expected files
Allowed functions
Allowed headers

Objective
Write a function that allocates an integer array covering every value between two bounds, in the direction they imply.
Steps
$ int_range(3, 7)
[3, 4, 5, 6, 7]
$ int_range(-2, 1)
[-2, -1, 0, 1]
$ int_range(5, 2)
[5, 4, 3, 2]
$ int_range(0, 0)
[0]
Expected files
Allowed functions
Allowed headers

Tests
Run the tests to grade your code