Update percent.cpp

second edition
Merge pull request #1 from NeelakshiNehru/master

Update percent.cpp