Update ipercent.cpp

call percent()