Update iPercent.cpp

removed an bug
Merge pull request #1 from IndraniGhosh/master

Update iPercent.cpp