0
How can I divide a range by integer that is each number of a range by integer?
suppose i have a = (1..7) and b= 2 and now I want find out the value each of number range a divided by b.
2 ответов
0
not sure what you need..
but just in case it what I guess is :
find ( maximum_value - minimum_value ) both from a , then div by b ?
hopefully a is array of integer for easier guess , or at least sorted ,
if not , well , took a lot of effort to convert integer to string - splitting each string - and put it back to number back and forth , besides , if it was string , the problem could come from digits later on..
0
well actually it's like-suppose there's a range (1..3) that means it contains 1,2 and 3. if I want to divide three of these numbers consisting in that range then what will I do?