I’m wondering if there’s a way to generate decreasing numbers within a certain range?
I want to program to keep outputting until it reaches 0, and the highest number in the range must be positive.
For example, if the range is (0, 100), this could be a possible output:
96
57
43
23
9
0
Sorry for the confusion from my original post
Thanks, everybody for your answers. But I found a solution to my own problem which I thought was quite simple, and I would like to share that with all of you.