Update ipercent.cpp

updated again