hey all

well i have been facing this problem for days ...i have written a program where i am suppose to read a specific number of lines within different intervals and count the number of occurance of r and s and then divide r by s. The program is running correctly but the problem takes place in such a case where s line is at the end of the interval and r line is received at the begining of the second interval giving me a % higher than 100 therefore i need to remove the last line of the interval and the first line of the second interval

plz help

0