I have a minimum value, a maximum value and an increment index and I need to iterate between the minimum and maximum value by setting a variable 'val' to the minimum and then incrementing 'val' by adding increment index value to it till the maximum value is reached and then terminating it.
I tried it initially with a for-loop but I am really ignorant at the moment on how best to do it.
I tried it initially with a for-loop but I am really ignorant at the moment on how best to do it.
Comment