i solved my question and getting the correct output
but still show this error :
Dang! You couldn’t score a perfect 100 because you failed one or more testcases. This means that your program didn’t account for all input cases (did you account for negative numbers, for example?).
whats the mistake ,why i getting this error again and again ???
whats the solution??