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
dododero
0
Newbie Poster
Recommended Answers
Jump to PostPlease post the code.
Jump to PostYes, it should allow you to paste code; what browser are you using?
If you look at the editing window, you should see a button marked 'Code'. If you click on that, it will come up with a pop-up window for editing the code in. If you have pop-ups blocked, …
All 8 Replies
WolfPack
491
Posting Virtuoso
Team Colleague
dododero
0
Newbie Poster
Schol-R-LEA
1,446
Commie Mutant Traitor
Featured Poster
dododero
0
Newbie Poster
dododero
0
Newbie Poster
David W
131
Practically a Posting Shark
dododero
0
Newbie Poster
David W
131
Practically a Posting Shark
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.