Quote Originally Posted by jdesai18
i cannot increase that value, because i have to take 7 exact inputs.... any idea?
Yes, here is an idea...

Post the whole program so that we can see exactly what you're doing. There is no way we can tell you what you're doing wrong without having a program that shows everything. Otherwise we can keep guessing forever...

Regards,

Paul McKenzie