hey my apologies for inconvenience.
Thank you very much for the script and time you have spent on this problem
I assume still your code is missing the following
Quote:
a a1 65-69 outofrange5
70-100 outofrange6
a a1 70-65 outofrange7
44-40 outofrange8
Need to take first range (others are not needed)
a a1 65-69 outofrange5 (need to compare)
70-100 outofrange6 (no need to compare)
a a1 70-65 outofrange7 (need to compare)
44-40 outofrange8 (no need to compare)
Quote:
This is not exactly what is provided in question. But I think in question it is wrong, as many lines do not have either inrange or outofrange itself.
a a1 65-69 should be outofrange but was provided otherwise.
65-69 is out of range but they are in between the ranges i have given in input1
This is really really important
Need to consider the ranges between the ranges even though they are not exactly match. Especially in case of 65-69. This range is present in between 45-60 and 80-90
45-60 65-69 80-90
Same thing follows to 70-65 case